Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/adduser.js')
-rw-r--r--lib/adduser.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/adduser.js b/lib/adduser.js
index f761ae386..f35b9829f 100644
--- a/lib/adduser.js
+++ b/lib/adduser.js
@@ -17,8 +17,12 @@ class AddUser extends BaseCommand {
return 'adduser'
}
- static get usage () {
- return ['[--registry=url] [--scope=@orgname] [--always-auth]']
+ static get params () {
+ return [
+ 'registry',
+ 'scope',
+ 'always-auth',
+ ]
}
exec (args, cb) {