Improve boolean readme
Fixes #157. Fix the wording in the README about booleans.
This commit is contained in:
parent
0edf37b6cc
commit
3d405ef163
@ -111,8 +111,10 @@ though it was given on the command line.
|
|||||||
|
|
||||||
Boolean options have a default implicit value of `"true"`, which can be
|
Boolean options have a default implicit value of `"true"`, which can be
|
||||||
overridden. The effect is that writing `-o` by itself will set option `o` to
|
overridden. The effect is that writing `-o` by itself will set option `o` to
|
||||||
`true`. However, they can also be written with various strings using either
|
`true`. However, they can also be written with various strings using `=value`.
|
||||||
`=value` or the next argument.
|
There is no way to disambiguate positional arguments from the value following
|
||||||
|
a boolean, so we have chosen that they will be positional arguments, and
|
||||||
|
therefore, `-o false` does not work.
|
||||||
|
|
||||||
## Custom help
|
## Custom help
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user