diff --git a/expat/xmlwf/xmlwf.c b/expat/xmlwf/xmlwf.c index e64dbca9..0a154ca0 100644 --- a/expat/xmlwf/xmlwf.c +++ b/expat/xmlwf/xmlwf.c @@ -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") diff --git a/expat/xmlwf/xmlwf_helpgen.sh b/expat/xmlwf/xmlwf_helpgen.sh index ed0765b6..6b0fbf92 100755 --- a/expat/xmlwf/xmlwf_helpgen.sh +++ b/expat/xmlwf/xmlwf_helpgen.sh @@ -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"),'