Clarify documentation on multi_val options.
authorMikhail Glushenkov <foldr@codedgers.com>
Wed, 21 Oct 2009 02:13:52 +0000 (02:13 +0000)
committerMikhail Glushenkov <foldr@codedgers.com>
Wed, 21 Oct 2009 02:13:52 +0000 (02:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84729 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvmc/doc/LLVMC-Reference.rst

index fad2ccc7742467c7ae41b08fbc9a950bff5e5536..7041bd120b09702b383fa65759db06d431a094a2 100644 (file)
@@ -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