aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-11-19 11:44:21 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-11-19 11:44:21 +0000
commit7d73417eb461c69f78577cffc4034ff837c70948 (patch)
treec72f702a9031729f29fe66039b3e7305448eed20 /doc
parent6e3e3cfcdcbae9abe74e741f36ce6937f732bf05 (diff)
downloadpaludis-7d73417eb461c69f78577cffc4034ff837c70948.tar.gz
paludis-7d73417eb461c69f78577cffc4034ff837c70948.tar.xz
Support for --no- for various switch args
Diffstat (limited to 'doc')
-rw-r--r--doc/api/cplusplus/examples/example_command_line.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/cplusplus/examples/example_command_line.cc b/doc/api/cplusplus/examples/example_command_line.cc
index 08ef3d568..ad8b8cd09 100644
--- a/doc/api/cplusplus/examples/example_command_line.cc
+++ b/doc/api/cplusplus/examples/example_command_line.cc
@@ -24,8 +24,8 @@ CommandLine::CommandLine() :
action_args(this, "Actions",
"Selects which basic action to perform. At most one action should "
"be specified."),
- a_version(&action_args, "version", 'V', "Display program version"),
- a_help(&action_args, "help", 'h', "Display program help"),
+ a_version(&action_args, "version", 'V', "Display program version", false),
+ a_help(&action_args, "help", 'h', "Display program help", false),
general_args(this, "General options",
"Options which are relevant for most or all actions."),