[Expat-discuss] [PATCH] fix xmlwf -h output

Joe Orton jorton at redhat.com
Mon Jun 17 16:51:59 CEST 2013


This fixes "xmlwf -h" to include the complete list of arguments, 
matching the man page synopsis.

Index: xmlwf/xmlwf.c
===================================================================
RCS file: /cvsroot/expat/expat/xmlwf/xmlwf.c,v
retrieving revision 1.75
diff -u -r1.75 xmlwf.c
--- xmlwf/xmlwf.c	19 Jan 2009 00:19:47 -0000	1.75
+++ xmlwf/xmlwf.c	17 Jun 2013 14:49:51 -0000
@@ -634,7 +634,7 @@
 usage(const XML_Char *prog, int rc)
 {
   ftprintf(stderr,
-           T("usage: %s [-n] [-p] [-r] [-s] [-w] [-x] [-d output-dir] "
+           T("usage: %s [-s] [-n] [-p] [-x] [-w] [-d output-dir] [-c] [-m] [-r] [-t] [-v] "
              "[-e encoding] file ...\n"), prog);
   exit(rc);
 }


More information about the Expat-discuss mailing list