xmlwf: Get -h and -v out of usage summary line

This commit is contained in:
Sebastian Pipping 2019-09-05 16:38:41 +02:00
parent 5f28bccc5b
commit 4a09fc9024
2 changed files with 2 additions and 1 deletions

View File

@ -851,7 +851,7 @@ usage(const XML_Char *prog, int rc) {
*/ */
/* clang-format off */ /* clang-format off */
T("usage: %s [-s] [-n] [-p] [-x] [-e ENCODING] [-w] [-r] [-d DIRECTORY]\n") 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(" [FILE [FILE ...]]\n")
T("\n") T("\n")
T("xmlwf - Determines if an XML document is well-formed\n") T("xmlwf - Determines if an XML document is well-formed\n")

View File

@ -30,5 +30,6 @@
./xmlwf/xmlwf_helpgen.py | sed \ ./xmlwf/xmlwf_helpgen.py | sed \
-e 's,usage: xmlwf,usage: %s,' \ -e 's,usage: xmlwf,usage: %s,' \
-e 's, \[-h | -v\],,' \
-e 's,^, T(",' \ -e 's,^, T(",' \
-e 's,$,\\n"),' -e 's,$,\\n"),'