mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-04-25 02:52:06 +00:00
update the --help docs with all the options
This commit is contained in:
parent
dcf1bcf141
commit
a2243e8936
1 changed files with 17 additions and 4 deletions
|
@ -112,13 +112,19 @@ static void
|
||||||
usage (int status)
|
usage (int status)
|
||||||
{
|
{
|
||||||
printf ("%s - QuakeForge Code Compiler\n", this_program);
|
printf ("%s - QuakeForge Code Compiler\n", this_program);
|
||||||
printf ("Usage: %s [options]\n", this_program);
|
printf ("Usage: %s [options] [files]\n", this_program);
|
||||||
printf (
|
printf (
|
||||||
"Options:\n"
|
"Options:\n"
|
||||||
" -s, --source DIR Look for progs.src in DIR instead of \".\"\n"
|
" -s, --source DIR Look for progs.src in DIR instead of \".\"\n"
|
||||||
" -q, --quiet Inhibit usual output\n"
|
" -q, --quiet Inhibit usual output\n"
|
||||||
" -v, --verbose Display more output than usual\n"
|
" -v, --verbose Display more output than usual\n"
|
||||||
" -g, Generate debuggin info\n"
|
" -g, Generate debugging info\n"
|
||||||
|
" -o, --output-file FILE Specify output file name\n"
|
||||||
|
" -P, --progs-src FILE File to use instad of progs.src\n"
|
||||||
|
" -F, --files Generate files.dat\n"
|
||||||
|
" -t, --traditional Traditional QuakeC mode: implies v6only\n"
|
||||||
|
" -p, --strip-path NUM Strip NUM leading path elements from file\n"
|
||||||
|
" names\n"
|
||||||
" -C, --code OPTION,... Set code generation options\n"
|
" -C, --code OPTION,... Set code generation options\n"
|
||||||
" -W, --warn OPTION,... Set warning options\n"
|
" -W, --warn OPTION,... Set warning options\n"
|
||||||
" -N, --notice OPTION,... Set notice options\n"
|
" -N, --notice OPTION,... Set notice options\n"
|
||||||
|
@ -128,7 +134,14 @@ usage (int status)
|
||||||
" -D, --define SYMBOL[=VAL],... Define symbols for the preprocessor\n"
|
" -D, --define SYMBOL[=VAL],... Define symbols for the preprocessor\n"
|
||||||
" -I, --include DIR,... Set directories for the preprocessor\n"
|
" -I, --include DIR,... Set directories for the preprocessor\n"
|
||||||
" to search for #includes\n"
|
" to search for #includes\n"
|
||||||
" -U, --undefine SYMBOL,... Undefine preprocessor symbols\n\n"
|
" -U, --undefine SYMBOL,... Undefine preprocessor symbols\n"
|
||||||
|
" --cpp CPPSPEC cpp execution command line\n"
|
||||||
|
" -L DIR Add linker library search path\n"
|
||||||
|
" -l LIB Link with libLIB.a\n"
|
||||||
|
" -c Compile only, don't link\n"
|
||||||
|
" -r Incremental linking\n"
|
||||||
|
" -z Compress object files\n"
|
||||||
|
"\n"
|
||||||
"For help on options for --code and --warn, see the qfcc(1) manual page\n"
|
"For help on options for --code and --warn, see the qfcc(1) manual page\n"
|
||||||
);
|
);
|
||||||
exit (status);
|
exit (status);
|
||||||
|
|
Loading…
Reference in a new issue