diff options
Diffstat (limited to 'deps/npm/lib/adduser.js')
-rw-r--r-- | deps/npm/lib/adduser.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/deps/npm/lib/adduser.js b/deps/npm/lib/adduser.js index b012371b339..3a7425d471b 100644 --- a/deps/npm/lib/adduser.js +++ b/deps/npm/lib/adduser.js @@ -4,13 +4,17 @@ var log = require('npmlog') var npm = require('./npm.js') var read = require('read') var userValidate = require('npm-user-validate') +var usage = require('./utils/usage') var crypto try { crypto = require('crypto') } catch (ex) {} -adduser.usage = 'npm adduser [--registry=url] [--scope=@orgname] [--always-auth]' +adduser.usage = usage( + 'adduser', + 'npm adduser [--registry=url] [--scope=@orgname] [--always-auth]' +) function adduser (args, cb) { if (!crypto) { |