Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jarro2783/cxxopts.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarryd Beck <jarro.2783@gmail.com>2021-10-20 23:37:07 +0300
committerJarryd Beck <jarro.2783@gmail.com>2021-10-20 23:37:23 +0300
commitd2f0bbfed1fb3618715cf9729170288ef86476ee (patch)
tree56166148e11787ac41972458f293045bf42c1e92
parent4a02ad94f42841fc718bbcf128e0b674b336a074 (diff)
Add note about count with default
Fixes #311.
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 9517993..14665f7 100644
--- a/README.md
+++ b/README.md
@@ -161,6 +161,8 @@ Note that the default and implicit value is always stored as a string,
regardless of the type that you want to store it in. It will be parsed as
though it was given on the command line.
+Default values are not counted by `Options::count`.
+
## Boolean values
Boolean options have a default implicit value of `"true"`, which can be