From 1f83704a70b9c4065a5eb9f65e94919415d238ae Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 30 Jun 2022 14:25:16 +0300 Subject: Add support for using bool with std::vector, std::set, and std::map --- cli/doc/cli-guide.xhtml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cli/doc/cli-guide.xhtml') 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; }; -

The possible option values for this interface are: -m a=A, - -m =B (key is an empty string), -m c= (value +

The possible option values for this interface are: -m a=1, + -m =true (key is an empty string), -m c= (value is an empty string), or -m d (same as -m d=).

The last component in the option definition is optional documentation. -- cgit v1.1