Skip to content
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 use help [cmd]/way to opt out of this behaviour #892

Closed
jakebolam opened this issue Dec 5, 2018 · 2 comments
Closed

how to use help [cmd]/way to opt out of this behaviour #892

jakebolam opened this issue Dec 5, 2018 · 2 comments

Comments

@jakebolam
Copy link

Could we have some docs on how to add commands that support the recently introduced command
help [cmd] display help for [cmd]

Alternatively could we have a way to opt out of help for sub commands.
e.g. just
help display help

And possibly a way to opt out of -h/--help as well (if using the command)

  Options:

    -h, --help                output usage information
@shadowspawn
Copy link
Collaborator

In answer to your first question, the current behaviour is when using a git-style (sub)command, these two are equivalent, and call the (sub)command with --help to display its help:

my-command help foo
my-command foo --help

@shadowspawn shadowspawn added the docs README (or other docs) could be improved label Nov 2, 2019
@shadowspawn shadowspawn removed the docs README (or other docs) could be improved label Dec 20, 2019
@shadowspawn
Copy link
Collaborator

This issue has not had any activity in over six months. It isn't likely to get acted on due to this report.

Feel free to open a new issue if it comes up again, with new information and renewed interest.

Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants