summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2009-07-31 10:26:55 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2009-07-31 10:26:55 +0400
commit73b87c68b1b2bc8d4b711b87d25850c98aecdda8 (patch)
treeecb63680af937c5676144f4c4aedb94f516fd046
parente873c9b16b2d1e1951897a6e7842d6c406166ad3 (diff)
downloadnasm-73b87c68b1b2bc8d4b711b87d25850c98aecdda8.tar.gz
nasm.c -- update info on -O cmdline option
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r--nasm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/nasm.c b/nasm.c
index dbc7ee7b..66aa0bb9 100644
--- a/nasm.c
+++ b/nasm.c
@@ -778,7 +778,10 @@ static bool process_arg(char *p, char *q)
" -F format select a debugging format\n\n"
" -I<path> adds a pathname to the include file path\n");
printf
- (" -O<digit> optimize branch offsets (-O0 disables, default)\n"
+ (" -O<digit> optimize branch offsets\n"
+ " -O0: No optimisation (default)\n"
+ " -O1: Minimal optimization\n"
+ " -Ox: Multipass optimization (recommended)\n\n"
" -P<file> pre-includes a file\n"
" -D<macro>[=<value>] pre-defines a macro\n"
" -U<macro> undefines a macro\n"