- {"debug", 0, &debugflag, 1},
- {"defines", 0, &definesflag, 1},
- {"file-prefix", 1, 0, 'b'},
- {"fixed-output-files", 0, &fixed_outfiles, 1},
- {"help", 0, 0, 'h'},
- {"name-prefix", 1, 0, 'a'},
- {"no-lines", 0, &nolinesflag, 1},
- {"output", 1, 0, 'o'},
- {"output-file", 1, 0, 'o'},
- {"verbose", 0, &verboseflag, 1},
- {"version", 0, 0, 'V'},
- {"yacc", 0, &fixed_outfiles, 1},
- {0, 0, 0, 0}
-};
+ /* Some efforts were made to ease the translators' task, please
+ continue. */
+ fputs (_("\
+GNU bison generates parsers for LALR(1) grammars.\n"), stream);
+ putc ('\n', stream);
+
+ fprintf (stream, _("\
+Usage: %s [OPTION]... FILE\n"), program_name);
+ putc ('\n', stream);
+
+ fputs (_("\
+If a long option shows an argument as mandatory, then it is mandatory\n\
+for the equivalent short option also. Similarly for optional arguments.\n"),
+ stream);
+ putc ('\n', stream);
+
+ fputs (_("\
+Operation modes:\n\
+ -h, --help display this help and exit\n\
+ -V, --version output version information and exit\n\
+ -y, --yacc emulate POSIX yacc\n"), stream);
+ putc ('\n', stream);
+
+ fputs (_("\
+Parser:\n\
+ -S, --skeleton=FILE specify the skeleton to use\n\
+ -t, --debug instrument the parser for debugging\n\
+ --locations enable locations computation\n\
+ -p, --name-prefix=PREFIX prepend PREFIX to the external symbols\n\
+ -l, --no-lines don't generate `#line' directives\n\
+ -n, --no-parser generate the tables only\n\
+ -k, --token-table include a table of token names\n\
+"), stream);
+ putc ('\n', stream);
+
+ fputs (_("\
+Output:\n\
+ -d, --defines also produce a header file\n\
+ -v, --verbose also produce an explanation of the automaton\n\
+ -b, --file-prefix=PREFIX specify a PREFIX for output files\n\
+ -o, --output=FILE leave output to FILE\n\
+ -g, --graph also produce a VCG description of the automaton\n\
+"), stream);
+ putc ('\n', stream);
+
+ fputs (_("\
+Report bugs to <bug-bison@gnu.org>.\n"), stream);
+}