summaryrefslogtreecommitdiff
path: root/gcc/doc/options.texi
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-05 13:06:27 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-05 13:06:27 +0000
commite2028bfacda6880292925ddc3273b9d4e29e48f1 (patch)
tree6b1a8cba615f48d1963fa98f1d69555be29e0ee1 /gcc/doc/options.texi
parent03d06b393750d84517695f396af0612d87784f40 (diff)
downloadgcc-e2028bfacda6880292925ddc3273b9d4e29e48f1.tar.gz
* defaults.h (DEFAULT_WORD_SWITCH_TAKES_ARG,
WORD_SWITCH_TAKES_ARG): Remove. * doc/options.texi (Args): Document. * doc/tm.texi.in (WORD_SWITCH_TAKES_ARG): Remove. * doc/tm.texi: Regenerate. * opt-functions.awk (switch_flags): Handle Args. * opts-common.c: Update comment on tm.h include. (decode_cmdline_option): Handle options with multiple arguments. Don't check WORD_SWITCH_TAKES_ARG for unknown options. * opts.h (CL_SEPARATE_NARGS_SHIFT, CL_SEPARATE_NARGS_MASK): Define. (CL_PARAMS, CL_WARNING, CL_OPTIMIZATION, CL_DRIVER, CL_TARGET, CL_COMMON): Update values. * system.h (WORD_SWITCH_TAKES_ARG): Poison. * config/darwin.h (WORD_SWITCH_TAKES_ARG): Remove. * config/darwin.opt (Zsegaddr, sectalign, sectcreate, sectobjectsymbols, sectorder, segcreate, segprot): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166359 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/options.texi')
-rw-r--r--gcc/doc/options.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/doc/options.texi b/gcc/doc/options.texi
index d774b36d563..3b844bb9eb6 100644
--- a/gcc/doc/options.texi
+++ b/gcc/doc/options.texi
@@ -162,6 +162,10 @@ generic error message is used. @var{message} should contain a single
@samp{%qs} format, which will be used to format the name of the option
passed.
+@item Args(@var{n})
+For an option marked @code{Separate}, indicate that it takes @var{n}
+arguments. The default is 1.
+
@item UInteger
The option's argument is a non-negative integer. The option parser
will check and convert the argument before passing it to the relevant