From 4e6138758d5f6e1301756a142c59fa6b3a395e67 Mon Sep 17 00:00:00 2001 From: Mikhail Glushenkov Date: Wed, 21 Oct 2009 02:13:52 +0000 Subject: [PATCH] Clarify documentation on multi_val options. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84729 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvmc/doc/LLVMC-Reference.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/llvmc/doc/LLVMC-Reference.rst b/tools/llvmc/doc/LLVMC-Reference.rst index fad2ccc7742..7041bd120b0 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