aboutsummaryrefslogtreecommitdiff
path: root/deps/npm/lib/star.js
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2016-05-06 15:22:02 -0700
committerJeremiah Senkpiel <fishrock123@rocketmail.com>2016-05-10 14:45:28 -0400
commit5c36cfc8438d28ee5050ee6d5c383cf9c5b895fb (patch)
tree6165b1b2ee92982a1e157ac29c924b516771780d /deps/npm/lib/star.js
parent101dd1ed789175311ab22f9a32dfc480f127bc68 (diff)
downloadandroid-node-v8-5c36cfc8438d28ee5050ee6d5c383cf9c5b895fb.tar.gz
android-node-v8-5c36cfc8438d28ee5050ee6d5c383cf9c5b895fb.tar.bz2
android-node-v8-5c36cfc8438d28ee5050ee6d5c383cf9c5b895fb.zip
deps: upgrade npm to 3.8.9
Contains the following three npm releases: https://github.com/npm/npm/releases/tag/v3.8.7 https://github.com/npm/npm/releases/tag/v3.8.8 https://github.com/npm/npm/releases/tag/v3.8.9 PR-URL: https://github.com/nodejs/node/pull/6664 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Diffstat (limited to 'deps/npm/lib/star.js')
-rw-r--r--deps/npm/lib/star.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/deps/npm/lib/star.js b/deps/npm/lib/star.js
index 29c4037d0c..ce141688b9 100644
--- a/deps/npm/lib/star.js
+++ b/deps/npm/lib/star.js
@@ -4,9 +4,13 @@ var npm = require('./npm.js')
var log = require('npmlog')
var asyncMap = require('slide').asyncMap
var mapToRegistry = require('./utils/map-to-registry.js')
+var usage = require('./utils/usage')
-star.usage = 'npm star [<pkg>...]\n' +
- 'npm unstar [<pkg>...]'
+star.usage = usage(
+ 'star',
+ 'npm star [<pkg>...]\n' +
+ 'npm unstar [<pkg>...]'
+)
star.completion = function (opts, cb) {
// FIXME: there used to be registry completion here, but it stopped making