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

Issue: Change default arguments #137

Open
DRSDavidSoft opened this issue Jan 31, 2019 · 1 comment
Open

Issue: Change default arguments #137

DRSDavidSoft opened this issue Jan 31, 2019 · 1 comment

Comments

@DRSDavidSoft
Copy link

Issue

How do I change default arguments?

For example, I'd like to use --help and -? arguments for help, instead of --help and -h.

@robertgrzonka
Copy link

robertgrzonka commented Feb 2, 2019

args sets short name of your command in default as your commands first letter. Do you need to define short names for all or your commands to be different than this? Or just this one?

In first case you should look ./lib/option.js. Note that this will impact all of your short names.

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