Skip to content

Commit

Permalink
fix help bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Pana committed Mar 8, 2017
1 parent 5770a19 commit 15fc1c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion cli.js
Expand Up @@ -57,7 +57,9 @@ program
program
.command('help')
.description('Print this help')
.action(program.help);
.action(function () {
program.outputHelp();
});

program
.parse(process.argv);
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "nrm",
"version": "1.0.0",
"version": "1.0.1",
"description": "NPM registry manager can help you easy and fast switch between different npm registries, now include: cnpm, taobao, nj(nodejitsu), rednpm, edunpm",
"bin": "./cli.js",
"repository": {
Expand Down

0 comments on commit 15fc1c9

Please sign in to comment.