diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-06-30 14:25:16 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-06-30 16:29:57 +0300 |
commit | 1f83704a70b9c4065a5eb9f65e94919415d238ae (patch) | |
tree | 70d6fc1c1aeffe943e8fb4e48154b71da0d473a1 /cli/doc | |
parent | be64f285c1c74567353838f37203c63d3d8e27b5 (diff) |
Add support for using bool with std::vector, std::set, and std::map
Diffstat (limited to 'cli/doc')
-rw-r--r-- | cli/doc/cli-guide.xhtml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/doc/cli-guide.xhtml b/cli/doc/cli-guide.xhtml index 675db03..94c006c 100644 --- a/cli/doc/cli-guide.xhtml +++ b/cli/doc/cli-guide.xhtml @@ -1084,12 +1084,12 @@ include <string>; class options { - std::map<std::string, std::string> --map | -m; + std::map<std::string, bool> --map | -m; }; </pre> - <p>The possible option values for this interface are: <code>-m a=A</code>, - <code>-m =B</code> (key is an empty string), <code>-m c=</code> (value + <p>The possible option values for this interface are: <code>-m a=1</code>, + <code>-m =true</code> (key is an empty string), <code>-m c=</code> (value is an empty string), or <code>-m d</code> (same as <code>-m d=</code>).</p> <p>The last component in the option definition is optional documentation. |