1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00

remove old option: font-suffix

This commit is contained in:
Lu Wang 2014-01-14 20:40:21 +08:00
parent 166efc3892
commit 9c254313ec

View File

@ -42,12 +42,6 @@ using namespace pdf2htmlEX;
Param param; Param param;
ArgParser argparser; ArgParser argparser;
void deprecated_font_suffix(const char * dummy = nullptr)
{
cerr << "--font-suffix is deprecated. Use `--font-format` instead." << endl;
exit(EXIT_FAILURE);
}
void show_usage_and_exit(const char * dummy = nullptr) void show_usage_and_exit(const char * dummy = nullptr)
{ {
cerr << "Usage: pdf2htmlEX [options] <input.pdf> [<output.html>]" << endl; cerr << "Usage: pdf2htmlEX [options] <input.pdf> [<output.html>]" << endl;
@ -202,7 +196,6 @@ void parse_options (int argc, char **argv)
.add("help,h", "print usage information", &show_usage_and_exit) .add("help,h", "print usage information", &show_usage_and_exit)
// deprecated // deprecated
.add("font-suffix", "", &deprecated_font_suffix)
.add("", &param.input_filename, "", "") .add("", &param.input_filename, "", "")
.add("", &param.output_filename, "", "") .add("", &param.output_filename, "", "")