1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00

make -v flag exit with success

This commit is contained in:
John Hewson 2013-01-25 13:13:27 +00:00
parent 851f3872a1
commit f3d8b8a954

View File

@ -53,7 +53,7 @@ void show_version_and_exit(const char * dummy = nullptr)
cerr << "Libraries: ";
cerr << "poppler " << POPPLER_VERSION << ", ";
cerr << "libfontforge " << ffw_get_version() << endl;
exit(EXIT_FAILURE);
exit(EXIT_SUCCESS);
}
void parse_options (int argc, char **argv)