We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--quiet
StoreOption
1 parent f40eed0 commit 5cddf32Copy full SHA for 5cddf32
README.rst
@@ -126,7 +126,7 @@ You may add multiple options for the same variable::
126
.add_option(&["-v", "--verbose"], StoreTrue,
127
"Be verbose")
128
.add_option(&["-q", "--quiet"], StoreFalse,
129
- "Be verbose");
+ "Be quiet");
130
131
Similarly positional arguments are added::
132
@@ -261,6 +261,8 @@ The following actions are available out of the box. They may be used in either
261
As ``Store``, but wrap value with ``Some`` for use with ``Option``. For
262
example:
263
264
+.. code-block::
265
+
266
let mut x: Option<i32> = None;
267
ap.refer(&mut x).add_option(&["-x"], StoreOption, "Set var x");
268
0 commit comments