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 | 93f1948caab6649d12580996ce29f39acedf7e84 (patch) | |
| tree | 25199604e8d6c2a257b73e1b485f7b242b073ee3 /llvm/tools | |
| parent | 456d734945a66a676012840c096f58e066da7cd1 (diff) | |
| download | bcm5719-llvm-93f1948caab6649d12580996ce29f39acedf7e84.tar.gz bcm5719-llvm-93f1948caab6649d12580996ce29f39acedf7e84.zip | |
Clarify documentation on multi_val options.
llvm-svn: 84729
Diffstat (limited to 'llvm/tools')
| -rw-r--r-- | llvm/tools/llvmc/doc/LLVMC-Reference.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/tools/llvmc/doc/LLVMC-Reference.rst b/llvm/tools/llvmc/doc/LLVMC-Reference.rst index fad2ccc7742..7041bd120b0 100644 --- a/llvm/tools/llvmc/doc/LLVMC-Reference.rst +++ b/llvm/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 |

