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

Override --help? #893

Closed
DavyKoravand opened this issue Dec 6, 2018 · 6 comments
Closed

Override --help? #893

DavyKoravand opened this issue Dec 6, 2018 · 6 comments

Comments

@DavyKoravand
Copy link

DavyKoravand commented Dec 6, 2018

I haven't found any topic on this online, but how do I override --help? I know I can listen to the event, but the default help output still appears. I'd like to override it both globally and per-command without the default help output appearing.

Edit: Just checked the source code. It seems --help is hardcoded and not configurable?

@shadowspawn
Copy link
Collaborator

shadowspawn commented Jan 2, 2019

Correct, there isn't currently support for overriding the default help output for --help.

It has come up before: #47 #242 #542

@shadowspawn
Copy link
Collaborator

Closing as a duplicate of #242

@Tbhesswebber
Copy link

@shadowspawn - I would make a new issue, but it seems as though it would just be closed as a duplicate - is this something that is considered out of scope for commander?

@shadowspawn
Copy link
Collaborator

shadowspawn commented Nov 23, 2019

@Tbhesswebber
Go ahead and open a new issue with details about your situation.

#242 was still open when this got closed as a duplicate, and this issue was a question which was "answered". It didn't get enough upvotes to consider it an implicit enhancement request.

@shadowspawn
Copy link
Collaborator

shadowspawn commented Nov 23, 2019

My standard line when closing old bugs due to inactivity, rather than as a duplicate, is:

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

@shadowspawn
Copy link
Collaborator

Commander v6.1 allows allows disabling the built-in help option: #1325

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

3 participants