Closed yonpols closed 3 years ago
Thanks!
Thanks!
No problem. How do I create a new version / release for it to be published to https://gopkg.in/alecthomas/kingpin.v2?
Does this makes sense?
Flags:
-h, --[no-]help Show context-sensitive help (also try --help-long and --help-man).
--[no-]version Show application version.
No it doesn't, why do you ask? To get --[no-]
you have to use negatable:""
.
The only way to set a boolean flag as "false" is to include the flag with the
no-
prefix. This fact is not documented anywhere, making it difficult for people to know how to disable a flag.