diff options
author | isaacs <i@izs.me> | 2010-09-29 05:10:13 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-09-29 05:10:13 +0400 |
commit | ad2b1854051f98b630d21e9bdc828aa2092acfa7 (patch) | |
tree | d5d14f58e8cf09d211c2b060e2bb449373a984b4 /cli.js | |
parent | 222ac0a5ea80a21f613ba83ab37766346726a89c (diff) |
Bugfix
Diffstat (limited to 'cli.js')
-rwxr-xr-x | cli.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -26,7 +26,7 @@ var fs = require("./lib/utils/graceful-fs") log.verbose(argv, "cli") while (arg = argv.shift()) { - if (!key && (arg.match(/-+[h?]/i))) arg = "--usage" + if (!key && (arg.match(/^-+[h?]$/i))) arg = "--usage" if (!command && (npm.commands.hasOwnProperty(arg))) { if (key) { conf[key] = true |