summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsuzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>2013-11-11 22:46:07 +0100
committerAlbert Astals Cid <aacid@kde.org>2013-11-11 22:46:42 +0100
commit4e0cbd37b964107c0fb531d48876a33ae843bf27 (patch)
treef175986dc3bf091ec3bfd61a35d17f3c6e487000
parent4dbd36f5b35dd0964e59d942242aecdc6b474c89 (diff)
pdftohtml: Add -? and --help
-rw-r--r--utils/pdftohtml.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/pdftohtml.cc b/utils/pdftohtml.cc
index bcec8cb7..af7251cb 100644
--- a/utils/pdftohtml.cc
+++ b/utils/pdftohtml.cc
@@ -16,7 +16,7 @@
// Copyright (C) 2007-2008, 2010, 2012 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2010 Hib Eris <hib@hiberis.nl>
// Copyright (C) 2010 Mike Slegeir <tehpola@yahoo.com>
-// Copyright (C) 2010 Suzuki Toshiya <mpsuzuki@hiroshima-u.ac.jp>
+// Copyright (C) 2010, 2013 Suzuki Toshiya <mpsuzuki@hiroshima-u.ac.jp>
// Copyright (C) 2010 OSSD CDAC Mumbai by Leena Chourey (leenac@cdacmumbai.in) and Onkar Potdar (onkar@cdacmumbai.in)
// Copyright (C) 2011 Steven Murdoch <Steven.Murdoch@cl.cam.ac.uk>
// Copyright (C) 2012 Igor Slepchin <igor.redhat@gmail.com>
@@ -104,8 +104,12 @@ static const ArgDesc argDesc[] = {
"don't print any messages or errors"},
{"-h", argFlag, &printHelp, 0,
"print usage information"},
+ {"-?", argFlag, &printHelp, 0,
+ "print usage information"},
{"-help", argFlag, &printHelp, 0,
"print usage information"},
+ {"--help", argFlag, &printHelp, 0,
+ "print usage information"},
{"-p", argFlag, &printHtml, 0,
"exchange .pdf links by .html"},
{"-c", argFlag, &complexMode, 0,