Skip to content

Commit

Permalink
More profile fixes + update baselines
Browse files Browse the repository at this point in the history
  • Loading branch information
sandersn committed Feb 24, 2021
1 parent ba8808c commit 448b893
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
3 changes: 2 additions & 1 deletion lib/profile.js
Expand Up @@ -14,7 +14,8 @@ const readUserInfo = require('./utils/read-user-info.js')
const usageUtil = require('./utils/usage.js')

const usage = usageUtil(
'npm profile enable-2fa [auth-only|auth-and-writes]\n',
'profile',
'npm profile enable-2fa [auth-only|auth-and-writes]\n' +
'npm profile disable-2fa\n' +
'npm profile get [<key>]\n' +
'npm profile set <key> <value>'
Expand Down
9 changes: 4 additions & 5 deletions tap-snapshots/test-lib-utils-npm-usage.js-TAP.test.js
Expand Up @@ -393,11 +393,10 @@ All commands:
prefix npm prefix [-g]
profile npm profile disable-2fa
common options: npm profile get [<key>]
profile npm profile enable-2fa [auth-only|auth-and-writes]
npm profile disable-2fa
npm profile get [<key>]
npm profile set <key> <value>
prune npm prune [[<@scope>/]<pkg>...] [--production]
Expand Down

0 comments on commit 448b893

Please sign in to comment.