Replies: 1 comment
-
flags are most commonly binary, so in most cases a default value isn't meaningful. You can of course make a an option that behaves just like a flag using the expected(0,1) modifier. then it can have a default value and capture_default_str works. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am wondering why there is no
->capture_default_str()
modifier (or similar) for flags. How can I show the default values of flags in the help?Beta Was this translation helpful? Give feedback.
All reactions