diff options
Diffstat (limited to 'deps/npm/lib/star.js')
-rw-r--r-- | deps/npm/lib/star.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/deps/npm/lib/star.js b/deps/npm/lib/star.js index 29c4037d0cb..ce141688b93 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 |