Skip to content

Commit 448b893

Browse files
committed
More profile fixes + update baselines
1 parent ba8808c commit 448b893

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lib/profile.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ const readUserInfo = require('./utils/read-user-info.js')
1414
const usageUtil = require('./utils/usage.js')
1515

1616
const usage = usageUtil(
17-
'npm profile enable-2fa [auth-only|auth-and-writes]\n',
17+
'profile',
18+
'npm profile enable-2fa [auth-only|auth-and-writes]\n' +
1819
'npm profile disable-2fa\n' +
1920
'npm profile get [<key>]\n' +
2021
'npm profile set <key> <value>'

tap-snapshots/test-lib-utils-npm-usage.js-TAP.test.js

+4-5
Original file line numberDiff line numberDiff line change
@@ -393,11 +393,10 @@ All commands:
393393
394394
prefix npm prefix [-g]
395395
396-
profile npm profile disable-2fa
397-
398-
399-
common options: npm profile get [<key>]
400-
396+
profile npm profile enable-2fa [auth-only|auth-and-writes]
397+
npm profile disable-2fa
398+
npm profile get [<key>]
399+
npm profile set <key> <value>
401400
402401
prune npm prune [[<@scope>/]<pkg>...] [--production]
403402

0 commit comments

Comments
 (0)