parser_help();
}
+static void show_version()
+{
+ printf("PaperJam " VERSION " -- a PDF processor\n");
+ printf("(c) " YEAR " Martin Mares, distributed under GNU GPL 2+\n");
+ printf("Built on " BUILD_DATE " from Git commit " BUILD_COMMIT "\n");
+}
+
int main(int argc, char **argv)
{
int c;
debug_level++;
break;
case OPT_VERSION:
- printf("This is paperjam with no version yet.\n"); // FIXME
+ show_version();
return 0;
case OPT_HELP:
usage();