diff options
author | Michael Garvin <gar+gh@danger.computer> | 2021-01-12 21:14:38 +0300 |
---|---|---|
committer | Michael Garvin <gar+gh@danger.computer> | 2021-01-15 00:20:39 +0300 |
commit | b0b0edf6de1678de7f4a000700c88daa5f7194ef (patch) | |
tree | 3d893008f8e8e4d83fe6c24028cf9ffece98cb84 /lib | |
parent | acd5b062a811fcd98849df908ce26855823ca671 (diff) |
fix(docs): clean up `npm token` docs
grammar fixes, notes on authentication tokens, match usage
output with readme
PR-URL: https://github.com/npm/cli/pull/2482
Credit: @wraithgar
Close: #2482
Reviewed-by: @darcyclarke
Diffstat (limited to 'lib')
-rw-r--r-- | lib/token.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/token.js b/lib/token.js index 98bbd3043..b737b5ffb 100644 --- a/lib/token.js +++ b/lib/token.js @@ -17,7 +17,7 @@ token._validateCIDRList = validateCIDRList const usageUtil = require('./utils/usage.js') token.usage = usageUtil('token', 'npm token list\n' + - 'npm token revoke <tokenKey>\n' + + 'npm token revoke <id|token>\n' + 'npm token create [--read-only] [--cidr=list]') const UsageError = (msg) => |