]>
Commit | Line | Data |
---|---|---|
359ef529 JR |
1 | Description: re-format the help option |
2 | Attempt to re-format the help option of the 3dldf | |
3 | interpreter wrt to GNU traditions. | |
4 | Origin: debian | |
5 | Author: Jerome Benoit <calculus@rezozer.net> | |
6 | Last-Update: 2014-05-22 | |
7 | ||
8 | --- a/src/main.web | |
9 | +++ b/src/main.web | |
10 | @@ -450,53 +450,44 @@ | |
11 | ||
12 | else if (option_index == HELP_INDEX) | |
13 | { | |
14 | - cerr_mutex.lock(); | |
15 | - cerr << "GNU 3DLDF Version " << VERSION_3DLDF << ". " | |
16 | - << COPYRIGHT_3DLDF << endl | |
17 | - << endl | |
18 | - << "Valid options for GNU 3DLDF are:" << endl | |
19 | - << endl | |
20 | - << "--bison-trace: Prints information generated by Bison " | |
21 | - << endl << " " | |
22 | - << "for tracing which parser rules are reduced " | |
23 | - << endl << " " | |
24 | - << "and the state of the Bison stack." << endl | |
25 | - << endl | |
26 | - << "--help: Prints this message and exits " | |
27 | - << "with return value 0." << endl | |
28 | - << endl | |
29 | - << "--multithread-input: Enables the use of multiple " | |
30 | - << "threads for input." | |
31 | - << endl | |
32 | - << endl | |
33 | - << "--multithread-output: Enables the use of multiple " | |
34 | - << "threads for output." | |
35 | - << endl | |
36 | - << endl | |
37 | - << "--multithread-include: Enables the use of multiple " | |
38 | - << "threads for input" << endl | |
39 | - << " files included in other input files." | |
40 | - << endl | |
41 | - << endl | |
42 | - << "--quiet: Suppresses some output to standard " | |
43 | - << "output" | |
44 | - << endl | |
45 | - << " and standard error when `3dldf' is run." | |
46 | - << endl << endl | |
47 | - << "--silent: Suppresses almost all output " | |
48 | - << "to standard output" << endl | |
49 | - << " and standard error when " | |
50 | - << "`3dldf' is run." | |
51 | - << endl << endl | |
52 | - << "--verbose: Causes status information to be " | |
53 | - << "printed to standard output" << endl | |
54 | - << " when `3dldf' is run." | |
55 | - << endl << endl | |
56 | - << "--version: Prints the version number of " | |
57 | - << "GNU 3DLDF" << endl | |
58 | - << " to standard output and exits with " | |
59 | - << "return value 0." | |
60 | - << endl << endl; | |
61 | + cerr_mutex.lock(); | |
62 | + cerr | |
63 | + << "Usage: 3ldf [OPTION]... 3DLDFNAME[.ldf]" | |
64 | + << endl << endl | |
65 | + << "This is GNU 3DLDF Version " << VERSION_3DLDF << ". " | |
66 | + << endl | |
67 | + << COPYRIGHT_3DLDF << "." | |
68 | + << endl << endl | |
69 | + << "Valid options for GNU 3DLDF are:" | |
70 | + << endl << endl | |
71 | + << " --bison-trace Prints information generated by Bison " | |
72 | + << "for tracing which parser rules are reduced " | |
73 | + << "and the state of the Bison stack" | |
74 | + << endl << endl | |
75 | + << " --multithread-input Enables the use of multiple threads for input" | |
76 | + << endl << endl | |
77 | + << " --multithread-output Enables the use of multiple threads for output" | |
78 | + << endl << endl | |
79 | + << " --multithread-include Enables the use of multiple threads for input" | |
80 | + << "files included in other input files" | |
81 | + << endl << endl | |
82 | + << " --quiet Suppresses some output to standard output" | |
83 | + << "and standard error when `3dldf' is running" | |
84 | + << endl << endl | |
85 | + << " --silent Suppresses almost all output to standard output" | |
86 | + << "and standard error when `3dldf' is running" | |
87 | + << endl << endl | |
88 | + << " --verbose Causes status information to be " | |
89 | + << "printed to standard output when `3dldf' is running" | |
90 | + << endl << endl | |
91 | + << " --help Prints this message and exits with return value 0" | |
92 | + << endl << endl | |
93 | + << " --version Prints the version number of GNU 3DLDF " | |
94 | + << "to standard output and exits with return value 0" | |
95 | + << endl << endl | |
96 | + << "Report bugs to <" << PACKAGE_BUGREPORT << ">." | |
97 | + << endl | |
98 | + ; | |
99 | ||
100 | ||
101 | #if DEBUG_COMPILE |