Commit d2f0bbfed1fb3618715cf9729170288ef86476ee
1 parent
4a02ad94
Add note about count with default
Fixes #311.
Showing
1 changed file
with
2 additions
and
0 deletions
README.md
| @@ -161,6 +161,8 @@ Note that the default and implicit value is always stored as a string, | @@ -161,6 +161,8 @@ Note that the default and implicit value is always stored as a string, | ||
| 161 | regardless of the type that you want to store it in. It will be parsed as | 161 | regardless of the type that you want to store it in. It will be parsed as |
| 162 | though it was given on the command line. | 162 | though it was given on the command line. |
| 163 | 163 | ||
| 164 | +Default values are not counted by `Options::count`. | ||
| 165 | + | ||
| 164 | ## Boolean values | 166 | ## Boolean values |
| 165 | 167 | ||
| 166 | Boolean options have a default implicit value of `"true"`, which can be | 168 | Boolean options have a default implicit value of `"true"`, which can be |