From 83e1688c74ef4d9034e6b47a6595dee480be6147 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Tue, 26 Nov 2019 16:17:44 +0100 Subject: [PATCH] xmlwf: Improve output of "xmlwf -h" by two tiny bits --- expat/xmlwf/xmlwf.c | 4 ++-- expat/xmlwf/xmlwf_helpgen.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/expat/xmlwf/xmlwf.c b/expat/xmlwf/xmlwf.c index 2d5a87e7..fa3c89a8 100644 --- a/expat/xmlwf/xmlwf.c +++ b/expat/xmlwf/xmlwf.c @@ -857,7 +857,7 @@ usage(const XML_Char *prog, int rc) { T("xmlwf - Determines if an XML document is well-formed\n") T("\n") T("positional arguments:\n") - T(" FILE files to process (default: STDIN)\n") + T(" FILE file to process (default: STDIN)\n") T("\n") T("input control arguments:\n") T(" -s print an error if the document is not [s]tandalone\n") @@ -879,7 +879,7 @@ usage(const XML_Char *prog, int rc) { T(" -h show this [h]elp message and exit\n") T(" -v show program's [v]ersion number and exit\n") T("\n") - T("libexpat is software libre, licensed under the MIT license.\n") + T("xmlwf of libexpat is software libre, licensed under the MIT license.\n") T("Please report bugs at https://github.com/libexpat/libexpat/issues. Thank you!\n") , /* clang-format on */ prog); diff --git a/expat/xmlwf/xmlwf_helpgen.py b/expat/xmlwf/xmlwf_helpgen.py index 0dcb6d34..939286e5 100755 --- a/expat/xmlwf/xmlwf_helpgen.py +++ b/expat/xmlwf/xmlwf_helpgen.py @@ -31,7 +31,7 @@ import argparse epilog = """ -libexpat is software libre, licensed under the MIT license. +xmlwf of libexpat is software libre, licensed under the MIT license. Please report bugs at https://github.com/libexpat/libexpat/issues. Thank you! """ @@ -57,7 +57,7 @@ output_mode.add_argument('-m', action='store_true', help='write [m]eta XML, not output_mode.add_argument('-t', action='store_true', help='write no XML output for [t]iming of plain parsing') output_related.add_argument('-N', action='store_true', help='enable adding doctype and [n]otation declarations') -parser.add_argument('files', metavar='FILE', nargs='*', help='files to process (default: STDIN)') +parser.add_argument('files', metavar='FILE', nargs='*', help='file to process (default: STDIN)') info = parser.add_argument_group('info arguments') info = info.add_mutually_exclusive_group()