summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel E. Denny <jdenny@clemson.edu>2009-07-15 04:21:00 -0400
committerJoel E. Denny <jdenny@clemson.edu>2009-07-15 04:41:38 -0400
commitfeeb56cd36e399192eef21460a11e0f8c0855b66 (patch)
treec71e0085d5ff1bdd244c3ce12edbedc766cd8d04
parent629e4def0cb850ad38acfd66194ed591e3d3d489 (diff)
downloadbison-feeb56cd36e399192eef21460a11e0f8c0855b66.tar.gz
Revert unnecessary column realignment in --help output.
Reported by Akim Demaille at <http://lists.gnu.org/archive/html/bison-patches/2009-06/msg00010.html>. * src/getargs.c (usage): Here. (cherry picked from commit 620b2e3691598e057e24a7965fd268d0495cf9f5)
-rw-r--r--ChangeLog7
-rw-r--r--src/getargs.c32
2 files changed, 23 insertions, 16 deletions
diff --git a/ChangeLog b/ChangeLog
index 5a7c2ac5..9ae99b00 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-07-15 Joel E. Denny <jdenny@ces.clemson.edu>
+
+ Revert unnecessary column realignment in --help output.
+ Reported by Akim Demaille at
+ <http://lists.gnu.org/archive/html/bison-patches/2009-06/msg00010.html>.
+ * src/getargs.c (usage): Here.
+
2009-07-04 Alex Rozenman <rozenman@gmail.com>
Alphabetical order in src/local.mk.
diff --git a/src/getargs.c b/src/getargs.c
index a19068f2..152b7eb8 100644
--- a/src/getargs.c
+++ b/src/getargs.c
@@ -277,12 +277,12 @@ The same is true for optional arguments.\n\
fputs (_("\
\n\
Operation modes:\n\
- -h, --help display this help and exit\n\
- -V, --version output version information and exit\n\
- --print-localedir output directory of locale-dependent data\n\
- --print-datadir output directory of skeletons and XSLT\n\
- -y, --yacc emulate POSIX Yacc\n\
- -W, --warnings[=CATEGORY] report the warnings falling in CATEGORY\n\
+ -h, --help display this help and exit\n\
+ -V, --version output version information and exit\n\
+ --print-localedir output directory containing locale-dependent data\n\
+ --print-datadir output directory containing skeletons and XSLT\n\
+ -y, --yacc emulate POSIX Yacc\n\
+ -W, --warnings[=CATEGORY] report the warnings falling in CATEGORY\n\
\n\
"), stdout);
@@ -306,16 +306,16 @@ Parser:\n\
* won't assume that -d also takes an argument. */
fputs (_("\
Output:\n\
- --defines[=FILE] also produce a header file\n\
- -d likewise but cannot specify FILE (for POSIX)\n\
- -r, --report=THINGS also produce details on the automaton\n\
- --report-file=FILE write report to FILE\n\
- -v, --verbose same as `--report=state'\n\
- -b, --file-prefix=PREFIX specify a PREFIX for output files\n\
- -o, --output=FILE leave output to FILE\n\
- -g, --graph[=FILE] also output a graph of the automaton\n\
- -x, --xml[=FILE] also output an XML report of the automaton\n\
- (the XML schema is experimental)\n\
+ --defines[=FILE] also produce a header file\n\
+ -d likewise but cannot specify FILE (for POSIX Yacc)\n\
+ -r, --report=THINGS also produce details on the automaton\n\
+ --report-file=FILE write report to FILE\n\
+ -v, --verbose same as `--report=state'\n\
+ -b, --file-prefix=PREFIX specify a PREFIX for output files\n\
+ -o, --output=FILE leave output to FILE\n\
+ -g, --graph[=FILE] also output a graph of the automaton\n\
+ -x, --xml[=FILE] also output an XML report of the automaton\n\
+ (the XML schema is experimental)\n\
\n\
"), stdout);