summaryrefslogtreecommitdiff
path: root/tools/llvmc
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2009-10-21 02:13:52 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2009-10-21 02:13:52 +0000
commit4e6138758d5f6e1301756a142c59fa6b3a395e67 (patch)
tree1ed69fc937bd20a29506a34689f3671ce5eb7381 /tools/llvmc
parent4858a1d51e579331ac4285243e187b3dfd5c2806 (diff)
downloadllvm-4e6138758d5f6e1301756a142c59fa6b3a395e67.tar.gz
llvm-4e6138758d5f6e1301756a142c59fa6b3a395e67.tar.bz2
llvm-4e6138758d5f6e1301756a142c59fa6b3a395e67.tar.xz
Clarify documentation on multi_val options.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84729 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc')
-rw-r--r--tools/llvmc/doc/LLVMC-Reference.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/llvmc/doc/LLVMC-Reference.rst b/tools/llvmc/doc/LLVMC-Reference.rst
index fad2ccc774..7041bd120b 100644
--- a/tools/llvmc/doc/LLVMC-Reference.rst
+++ b/tools/llvmc/doc/LLVMC-Reference.rst
@@ -349,8 +349,9 @@ separate option groups syntactically.
- ``multi_val n`` - this option takes *n* arguments (can be useful in some
special cases). Usage example: ``(parameter_list_option "foo", (multi_val
- 3))``. Only list options can have this attribute; you can, however, use
- the ``one_or_more`` and ``zero_or_one`` properties.
+ 3))``; the command-line syntax is '-foo a b c'. Only list options can have
+ this attribute; you can, however, use the ``one_or_more``, ``zero_or_one``
+ and ``required`` properties.
- ``init`` - this option has a default value, either a string (if it is a
parameter), or a boolean (if it is a switch; boolean constants are called