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

Support --help switch #10

Closed
nfischer opened this issue Apr 25, 2020 · 1 comment
Closed

Support --help switch #10

nfischer opened this issue Apr 25, 2020 · 1 comment
Labels

Comments

@nfischer
Copy link
Member

We have usage info, but I don't think this is wired up to a --help switch. This would be helpful when using the tool through an npm script (ex. npm run release:patch -- --help), which wouldn't otherwise permit you to pass an invalid argument.

@nfischer
Copy link
Member Author

Looks like this was already fixed:

release/index.js

Lines 71 to 74 in d68d05f

if (argv.help) {
usage();
exit(0);
}

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

No branches or pull requests

1 participant