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
-
When running the above with
I get
The
Action
in the flag--version
was 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