diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2009-10-21 02:13:52 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2009-10-21 02:13:52 +0000 |
commit | 83a8e220504f71e2e88e73d866a4ca4542fc2caa (patch) | |
tree | 1ed69fc937bd20a29506a34689f3671ce5eb7381 | |
parent | 2155c0a5a49c4bf016e0e335ebf893d132eb7530 (diff) | |
download | external_llvm-83a8e220504f71e2e88e73d866a4ca4542fc2caa.zip external_llvm-83a8e220504f71e2e88e73d866a4ca4542fc2caa.tar.gz external_llvm-83a8e220504f71e2e88e73d866a4ca4542fc2caa.tar.bz2 |
Clarify documentation on multi_val options.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84729 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/llvmc/doc/LLVMC-Reference.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/llvmc/doc/LLVMC-Reference.rst b/tools/llvmc/doc/LLVMC-Reference.rst index fad2ccc..7041bd1 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 |