summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-09 18:02:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-09 18:02:40 +0200
commit9bf40e4a91f6a792c3279d9184b67451cf58bf49 (patch)
treea242a923ec7d309dc488c60f1233fbc91fcbae70 /doc
parentbd21176187a55fa7f6e80b5cfe86f5e756971b4f (diff)
Add --std option with c++{98,11,14} values; use function-static in C++11
This way we can use option descriptions during static initialization (e.g., of an Apache module).
Diffstat (limited to 'doc')
-rw-r--r--doc/cli.13
-rw-r--r--doc/cli.xhtml5
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/cli.1 b/doc/cli.1
index 57fd6c2..346846a 100644
--- a/doc/cli.1
+++ b/doc/cli.1
@@ -65,6 +65,9 @@ Print version and exit\.
Search \fIdir\fR for bracket-included (\fB<>\fR) options files\.
.IP "\fB--output-dir\fR|\fB-o\fR \fIdir\fR"
Write the generated files to \fIdir\fR instead of the current directory\.
+.IP "\fB--std\fR \fIversion\fR"
+Specify the C++ standard that should be used during compilation\. Valid values
+are \fBc++98\fR (default), \fBc++11\fR, and \fBc++14\fR\.
.IP "\fB--generate-modifier\fR"
Generate option value modifiers in addition to accessors\.
.IP "\fB--generate-specifier\fR"
diff --git a/doc/cli.xhtml b/doc/cli.xhtml
index 962d53b..88bdebf 100644
--- a/doc/cli.xhtml
+++ b/doc/cli.xhtml
@@ -85,6 +85,11 @@
<dd>Write the generated files to <i>dir</i> instead of the current
directory.</dd>
+ <dt><code><b>--std</b></code> <i>version</i></dt>
+ <dd>Specify the C++ standard that should be used during compilation. Valid
+ values are <code><b>c++98</b></code> (default), <code><b>c++11</b></code>,
+ and <code><b>c++14</b></code>.</dd>
+
<dt><code><b>--generate-modifier</b></code></dt>
<dd>Generate option value modifiers in addition to accessors.</dd>