]> granicus.if.org Git - libexpat/commitdiff
xmlwf: Get -h and -v out of usage summary line
authorSebastian Pipping <sebastian@pipping.org>
Thu, 5 Sep 2019 14:38:41 +0000 (16:38 +0200)
committerSebastian Pipping <sebastian@pipping.org>
Thu, 5 Sep 2019 14:38:41 +0000 (16:38 +0200)
expat/xmlwf/xmlwf.c
expat/xmlwf/xmlwf_helpgen.sh

index e64dbca9464dcac7cb7fcaae9b04a1e30937821f..0a154ca0e9dbeb9586305606a40e7371190c3891 100644 (file)
@@ -851,7 +851,7 @@ usage(const XML_Char *prog, int rc) {
        */
       /* clang-format off */
       T("usage: %s [-s] [-n] [-p] [-x] [-e ENCODING] [-w] [-r] [-d DIRECTORY]\n")
-      T("             [-c | -m | -t] [-N] [-h | -v]\n")
+      T("             [-c | -m | -t] [-N]\n")
       T("             [FILE [FILE ...]]\n")
       T("\n")
       T("xmlwf - Determines if an XML document is well-formed\n")
index ed0765b6e74d4fbaa9e0140d624f53051d25a32e..6b0fbf929a0946712dbd4f3bc77a3db6dc002a74 100755 (executable)
@@ -30,5 +30,6 @@
 
 ./xmlwf/xmlwf_helpgen.py | sed \
         -e 's,usage: xmlwf,usage: %s,' \
+        -e 's, \[-h | -v\],,' \
         -e 's,^,      T(",' \
         -e 's,$,\\n"),'