1 Description: re-format the help option
2 Attempt to re-format the help option of the 3dldf
3 interpreter wrt to GNU traditions.
5 Author: Jerome Benoit <calculus@rezozer.net>
6 Last-Update: 2014-05-22
12 else if (option_index == HELP_INDEX)
15 - cerr << "GNU 3DLDF Version " << VERSION_3DLDF << ". "
16 - << COPYRIGHT_3DLDF << endl
18 - << "Valid options for GNU 3DLDF are:" << endl
20 - << "--bison-trace: Prints information generated by Bison "
22 - << "for tracing which parser rules are reduced "
24 - << "and the state of the Bison stack." << endl
26 - << "--help: Prints this message and exits "
27 - << "with return value 0." << endl
29 - << "--multithread-input: Enables the use of multiple "
30 - << "threads for input."
33 - << "--multithread-output: Enables the use of multiple "
34 - << "threads for output."
37 - << "--multithread-include: Enables the use of multiple "
38 - << "threads for input" << endl
39 - << " files included in other input files."
42 - << "--quiet: Suppresses some output to standard "
45 - << " and standard error when `3dldf' is run."
47 - << "--silent: Suppresses almost all output "
48 - << "to standard output" << endl
49 - << " and standard error when "
50 - << "`3dldf' is run."
52 - << "--verbose: Causes status information to be "
53 - << "printed to standard output" << endl
54 - << " when `3dldf' is run."
56 - << "--version: Prints the version number of "
57 - << "GNU 3DLDF" << endl
58 - << " to standard output and exits with "
59 - << "return value 0."
63 + << "Usage: 3ldf [OPTION]... 3DLDFNAME[.ldf]"
65 + << "This is GNU 3DLDF Version " << VERSION_3DLDF << ". "
67 + << COPYRIGHT_3DLDF << "."
69 + << "Valid options for GNU 3DLDF are:"
71 + << " --bison-trace Prints information generated by Bison "
72 + << "for tracing which parser rules are reduced "
73 + << "and the state of the Bison stack"
75 + << " --multithread-input Enables the use of multiple threads for input"
77 + << " --multithread-output Enables the use of multiple threads for output"
79 + << " --multithread-include Enables the use of multiple threads for input"
80 + << "files included in other input files"
82 + << " --quiet Suppresses some output to standard output"
83 + << "and standard error when `3dldf' is running"
85 + << " --silent Suppresses almost all output to standard output"
86 + << "and standard error when `3dldf' is running"
88 + << " --verbose Causes status information to be "
89 + << "printed to standard output when `3dldf' is running"
91 + << " --help Prints this message and exits with return value 0"
93 + << " --version Prints the version number of GNU 3DLDF "
94 + << "to standard output and exits with return value 0"
96 + << "Report bugs to <" << PACKAGE_BUGREPORT << ">."