mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +08:00
nasm.c -- update help message
Show all options we support at moment via "nasm -h" invoked. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
e6ccff9997
commit
984c4db12f
14
nasm.c
14
nasm.c
@ -764,12 +764,17 @@ static bool process_arg(char *p, char *q)
|
|||||||
" [options...] [--] filename\n"
|
" [options...] [--] filename\n"
|
||||||
" or nasm -v for version info\n\n"
|
" or nasm -v for version info\n\n"
|
||||||
" -t assemble in SciTech TASM compatible mode\n"
|
" -t assemble in SciTech TASM compatible mode\n"
|
||||||
" -g generate debug information in selected format.\n");
|
" -g generate debug information in selected format\n");
|
||||||
printf
|
printf
|
||||||
(" -E (or -e) preprocess only (writes output to stdout by default)\n"
|
(" -E (or -e) preprocess only (writes output to stdout by default)\n"
|
||||||
" -a don't preprocess (assemble only)\n"
|
" -a don't preprocess (assemble only)\n"
|
||||||
" -M generate Makefile dependencies on stdout\n"
|
" -M generate Makefile dependencies on stdout\n"
|
||||||
" -MG d:o, missing files assumed generated\n\n"
|
" -MG d:o, missing files assumed generated\n"
|
||||||
|
" -MF <file> set Makefile dependency file\n"
|
||||||
|
" -MD <file> assemble and generate dependencies\n"
|
||||||
|
" -MT <file> dependency target name\n"
|
||||||
|
" -MQ <file> dependency target name (quoted)\n"
|
||||||
|
" -MP emit phony target\n\n"
|
||||||
" -Z<file> redirect error messages to file\n"
|
" -Z<file> redirect error messages to file\n"
|
||||||
" -s redirect error messages to stdout\n\n"
|
" -s redirect error messages to stdout\n\n"
|
||||||
" -F format select a debugging format\n\n"
|
" -F format select a debugging format\n\n"
|
||||||
@ -781,7 +786,10 @@ static bool process_arg(char *p, char *q)
|
|||||||
" -U<macro> undefines a macro\n"
|
" -U<macro> undefines a macro\n"
|
||||||
" -X<format> specifies error reporting format (gnu or vc)\n"
|
" -X<format> specifies error reporting format (gnu or vc)\n"
|
||||||
" -w+foo enables warning foo (equiv. -Wfoo)\n"
|
" -w+foo enables warning foo (equiv. -Wfoo)\n"
|
||||||
" -w-foo disable warning foo (equiv. -Wno-foo)\n"
|
" -w-foo disable warning foo (equiv. -Wno-foo)\n\n"
|
||||||
|
"--prefix,--postfix\n"
|
||||||
|
" this options prepend or append the given argument to all\n"
|
||||||
|
" extern and global variables\n\n"
|
||||||
"Warnings:\n");
|
"Warnings:\n");
|
||||||
for (i = 0; i <= ERR_WARN_MAX; i++)
|
for (i = 0; i <= ERR_WARN_MAX; i++)
|
||||||
printf(" %-23s %s (default %s)\n",
|
printf(" %-23s %s (default %s)\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user