Documentation update.
authorMikhail Glushenkov <foldr@codedgers.com>
Tue, 7 Jul 2009 16:09:29 +0000 (16:09 +0000)
committerMikhail Glushenkov <foldr@codedgers.com>
Tue, 7 Jul 2009 16:09:29 +0000 (16:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74907 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvmc/doc/LLVMC-Reference.rst

index b43c3e3525c11c6e344112355b93b04a21b4d420..aa977039ebe0421f1bbdd2274501c762f749de20 100644 (file)
@@ -347,6 +347,12 @@ separate option groups syntactically.
      3))``. Only list options can have this attribute; you can, however, use
      the ``one_or_more`` and ``zero_or_one`` 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
+     ``true`` and ``false``). List options can't have this attribute. Usage
+     examples: ``(switch_option "foo", (init true))``; ``(prefix_option "bar",
+     (init "baz"))``.
+
    - ``extern`` - this option is defined in some other plugin, see below.
 
 External options