Skip to content

Commit

Permalink
chore(help): treat -? like -h and show help
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Jul 2, 2017
1 parent 2a62f8c commit 7d61c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ if (program.version) {
process.exit(0)
}

if (program.help || program.h) {
if (program.help || program.h || program['?']) {
optimist.showHelp()
process.exit(0)
}
Expand Down

0 comments on commit 7d61c7e

Please sign in to comment.