-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to remove the default use: XXX [command] #1499
Comments
Hi @moshangxi.
Why do you feel this is unexpected? The example code specified that the root command is named |
|
I want show it like this: Usage : father [command][flages] |
This problem is solved by SetHelpTemplate(template) , see #1505 for more details. |
This is a problem that has bothered me for a long time. I found some solutions, which are not ideal. Therefore, I want to ask how to solve it: when there are sub commands, the parent command help information will generate XXX [command] by default. for example:
Input:
Output results:
Something unexpected has occurred:Usage : father [command]. How do I eliminate it ?
The text was updated successfully, but these errors were encountered: