From 448b893e28f0ef4790ef1cc85be160bee1bae25f Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> Date: Wed, 24 Feb 2021 08:43:54 -0800 Subject: [PATCH] More profile fixes + update baselines --- lib/profile.js | 3 ++- tap-snapshots/test-lib-utils-npm-usage.js-TAP.test.js | 9 ++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/profile.js b/lib/profile.js index 4148560f147ef..9d8322097d2a6 100644 --- a/lib/profile.js +++ b/lib/profile.js @@ -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 []\n' + 'npm profile set ' diff --git a/tap-snapshots/test-lib-utils-npm-usage.js-TAP.test.js b/tap-snapshots/test-lib-utils-npm-usage.js-TAP.test.js index ced8d1a055377..aced03ecf2f14 100644 --- a/tap-snapshots/test-lib-utils-npm-usage.js-TAP.test.js +++ b/tap-snapshots/test-lib-utils-npm-usage.js-TAP.test.js @@ -393,11 +393,10 @@ All commands: prefix npm prefix [-g] - profile npm profile disable-2fa - - - common options: npm profile get [] - + profile npm profile enable-2fa [auth-only|auth-and-writes] + npm profile disable-2fa + npm profile get [] + npm profile set prune npm prune [[<@scope>/]...] [--production]