Handle -h as an alias for --help.
This commit is contained in:
parent
291570dfd7
commit
8c0811885f
@ -74,7 +74,7 @@ var help = wrap((function (pkg) {
|
||||
//--------------------------------------------------------------------
|
||||
|
||||
exports = module.exports = function (args) {
|
||||
if (!args || !args.length) {
|
||||
if (!args || !args.length || '-h' === args[0]) {
|
||||
return help();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user