Add some missing command line option docs.

This commit is contained in:
Bill Currie 2012-05-03 00:03:13 +09:00
parent 15de69d868
commit 44fcd76475
2 changed files with 7 additions and 1 deletions

View file

@ -112,6 +112,9 @@ See \fBNOTICE OPTIONS\fP for details.
Specify output file name. Specify output file name.
In \fBprogs.src\fP mode, this overrides the output file in \*[progs.src]. In \fBprogs.src\fP mode, this overrides the output file in \*[progs.src].
.TP .TP
.B \-\-progdefs
Generate \fIprogdefs.h\fP.
.TP
.B \-P, \-\-progs\-src FILE .B \-P, \-\-progs\-src FILE
File to use instead of \*[progs.src]. File to use instead of \*[progs.src].
No effect in separate compilation mode. No effect in separate compilation mode.

View file

@ -105,8 +105,8 @@ static const char *short_options =
"g" // debug "g" // debug
"h" // help "h" // help
"I:" // set includes "I:" // set includes
"l:" // lib file
"L:" // lib path "L:" // lib path
"l:" // lib file
"M::" "M::"
"N:" // notice options "N:" // notice options
"o:" // output file "o:" // output file
@ -148,8 +148,11 @@ usage (int status)
" -L DIR Add linker library search path\n" " -L DIR Add linker library search path\n"
" -l LIB Link with libLIB.a\n" " -l LIB Link with libLIB.a\n"
" -M[flags] Generate depency info. Dependent on cpp\n" " -M[flags] Generate depency info. Dependent on cpp\n"
" --no-default-paths Do not search default paths for headers or\n"
" libs\n"
" -N, --notice OPTION,... Set notice options\n" " -N, --notice OPTION,... Set notice options\n"
" -o, --output-file FILE Specify output file name\n" " -o, --output-file FILE Specify output file name\n"
" --progdefs Genderate progdefs.h\n"
" -P, --progs-src FILE File to use instead of progs.src\n" " -P, --progs-src FILE File to use instead of progs.src\n"
" -p, --strip-path NUM Strip NUM leading path elements from file\n" " -p, --strip-path NUM Strip NUM leading path elements from file\n"
" names\n" " names\n"