cli icon indicating copy to clipboard operation
cli copied to clipboard

Help description shows after Before function returns error

Open moorara opened this issue 8 years ago • 3 comments

When the Before function for a subcommand returns an error which satisfies cli.ExitError, the help texts are printed after error message before exiting!

On returning an error I simply want the app to be exited by specified code.

moorara avatar Sep 17 '16 00:09 moorara

👍 -- I could see both behaviors potentially being desirable, but I think we could probably modify ExitError to indicate whether or not to print the help.

jszwedko avatar Nov 05 '16 04:11 jszwedko

This issue or PR has been automatically marked as stale because it has not had recent activity. Please add a comment bumping this if you're still interested in it's resolution! Thanks for your help, please let us know if you need anything else.

stale[bot] avatar Feb 25 '20 08:02 stale[bot]

Closing this as it has become stale.

stale[bot] avatar Mar 26 '20 08:03 stale[bot]

Verified that said behaviour doesnt exist in latest release v2.23.6

dearchap avatar Dec 08 '22 00:12 dearchap