Replies: 1 comment
-
|
The Action func of Command or App was designed for this. Flag action func are a recent addition and were supposed to trigger some functionality if flag was set. If you set Then the help wont be printed |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When running the above with
I get
The
Actionin the flag--versionwas processed correctly (very first line of the output), and despite this the help was displayed as well. Why?How can I "break" the execution in a flag
Action?Beta Was this translation helpful? Give feedback.
All reactions