diff options
author | Kat Marchán <kzm@sykosomatic.org> | 2017-05-09 14:46:02 -0700 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2017-05-23 19:39:43 +0200 |
commit | c0d858f8bb8ba5212548da2fba6a7bc02db0462b (patch) | |
tree | 99f043ec5aec3f5150a2aed0f62597234b158140 /deps/npm/lib/help.js | |
parent | 994617370e8e66f3ea9488fec32fd912e7902396 (diff) | |
download | android-node-v8-c0d858f8bb8ba5212548da2fba6a7bc02db0462b.tar.gz android-node-v8-c0d858f8bb8ba5212548da2fba6a7bc02db0462b.tar.bz2 android-node-v8-c0d858f8bb8ba5212548da2fba6a7bc02db0462b.zip |
deps: upgrade npm beta to 5.0.0-beta.56
PR-URL: https://github.com/nodejs/node/pull/12936
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'deps/npm/lib/help.js')
-rw-r--r-- | deps/npm/lib/help.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/npm/lib/help.js b/deps/npm/lib/help.js index cfac917999..9763d5fccd 100644 --- a/deps/npm/lib/help.js +++ b/deps/npm/lib/help.js @@ -38,7 +38,7 @@ function help (args, cb) { return npmUsage(valid, cb) } - // npm <cmd> -h: show command usage + // npm <command> -h: show command usage if (npm.config.get('usage') && npm.commands[section] && npm.commands[section].usage) { @@ -169,7 +169,7 @@ function npmUsage (valid, cb) { npm.config.get('long') ? usages() : ' ' + wrap(commands), '', - 'npm <cmd> -h quick help on <cmd>', + 'npm <command> -h quick help on <command>', 'npm -l display full usage info', 'npm help <term> search for help on <term>', 'npm help npm involved overview', @@ -185,7 +185,7 @@ function npmUsage (valid, cb) { } function usages () { - // return a string of <cmd>: <usage> + // return a string of <command>: <usage> var maxLen = 0 return Object.keys(npm.commands).filter(function (c) { return c === npm.deref(c) |