From 984c4db12f312e5d6051e9c02fb02b7b24bdb226 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Fri, 31 Jul 2009 00:32:17 +0400 Subject: [PATCH] nasm.c -- update help message Show all options we support at moment via "nasm -h" invoked. Signed-off-by: Cyrill Gorcunov --- nasm.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/nasm.c b/nasm.c index b2ceacce..a076794e 100644 --- a/nasm.c +++ b/nasm.c @@ -764,12 +764,17 @@ static bool process_arg(char *p, char *q) " [options...] [--] filename\n" " or nasm -v for version info\n\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 (" -E (or -e) preprocess only (writes output to stdout by default)\n" " -a don't preprocess (assemble only)\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 set Makefile dependency file\n" + " -MD assemble and generate dependencies\n" + " -MT dependency target name\n" + " -MQ dependency target name (quoted)\n" + " -MP emit phony target\n\n" " -Z redirect error messages to file\n" " -s redirect error messages to stdout\n\n" " -F format select a debugging format\n\n" @@ -781,7 +786,10 @@ static bool process_arg(char *p, char *q) " -U undefines a macro\n" " -X specifies error reporting format (gnu or vc)\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"); for (i = 0; i <= ERR_WARN_MAX; i++) printf(" %-23s %s (default %s)\n",