diff options
Diffstat (limited to 'deps/npm/lib/update.js')
-rw-r--r-- | deps/npm/lib/update.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/deps/npm/lib/update.js b/deps/npm/lib/update.js index f09b5accade..2c1d1e82a81 100644 --- a/deps/npm/lib/update.js +++ b/deps/npm/lib/update.js @@ -1,12 +1,16 @@ module.exports = update -update.usage = 'npm update [-g] [<pkg>...]' - var url = require('url') var log = require('npmlog') var chain = require('slide').chain var npm = require('./npm.js') var Installer = require('./install.js').Installer +var usage = require('./utils/usage') + +update.usage = usage( + 'update', + 'npm update [-g] [<pkg>...]' +) update.completion = npm.commands.outdated.completion |