Skip to content

Commit 5cddf32

Browse files
committed
Fixed description for --quiet and code-block formatting under StoreOption
1 parent f40eed0 commit 5cddf32

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ You may add multiple options for the same variable::
126126
.add_option(&["-v", "--verbose"], StoreTrue,
127127
"Be verbose")
128128
.add_option(&["-q", "--quiet"], StoreFalse,
129-
"Be verbose");
129+
"Be quiet");
130130

131131
Similarly positional arguments are added::
132132

@@ -261,6 +261,8 @@ The following actions are available out of the box. They may be used in either
261261
As ``Store``, but wrap value with ``Some`` for use with ``Option``. For
262262
example:
263263

264+
.. code-block::
265+
264266
let mut x: Option<i32> = None;
265267
ap.refer(&mut x).add_option(&["-x"], StoreOption, "Set var x");
266268

0 commit comments

Comments
 (0)