I am wondering what the best practice would be for displaying a suggestion to run --help would be after every error message without displaying usage. I would like it for the suggestion to be specific to the root command and subcommands ran.
An example would be that a user types a wrong command or misuses a command. The resulting message would be:
Run rootcommand subcommand --help for usage.
I am wondering what the best practice would be for displaying a suggestion to run
--helpwould be after every error message without displaying usage. I would like it for the suggestion to be specific to the root command and subcommands ran.An example would be that a user types a wrong command or misuses a command. The resulting message would be:
Run rootcommand subcommand --help for usage.