summaryrefslogtreecommitdiff
path: root/docs/CommandLine.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/CommandLine.rst')
-rw-r--r--docs/CommandLine.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/CommandLine.rst b/docs/CommandLine.rst
index 9b77a9890826c..4c84d23297b45 100644
--- a/docs/CommandLine.rst
+++ b/docs/CommandLine.rst
@@ -925,12 +925,13 @@ This section describes the basic attributes that you can specify on options.
.. code-block:: c++
- cl::opt<**bool**> Quiet("quiet");
+ cl::opt<bool> Quiet("quiet");
.. _cl::desc(...):
* The **cl::desc** attribute specifies a description for the option to be
- shown in the ``-help`` output for the program.
+ shown in the ``-help`` output for the program. This attribute supports
+ multi-line descriptions with lines separated by '\n'.
.. _cl::value_desc: