From 13a5e31781cdaa37d3f007e1c8583c7cb591c62a Mon Sep 17 00:00:00 2001 From: Alexander Riccio Date: Sat, 16 Jan 2021 17:29:27 -0500 Subject: [PATCH] elaborate that npm help uses browser As I mentioned in issue #2501 this is mildly annoying to me, and probably a few other people. I have added "(in a browser)" to the npm usage string at the npm help line. PR-URL: https://github.com/npm/cli/pull/2502 Credit: @ariccio Close: #2502 Reviewed-by: @isaacs --- lib/utils/npm-usage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/utils/npm-usage.js b/lib/utils/npm-usage.js index 720aab3de088f..3ecf068ed6494 100644 --- a/lib/utils/npm-usage.js +++ b/lib/utils/npm-usage.js @@ -16,8 +16,8 @@ npm test run this project's tests npm run run the script named npm -h quick help on npm -l display usage info for all commands -npm help search for help on -npm help npm more involved overview +npm help search for help on (in a browser) +npm help npm more involved overview (in a browser) All commands: ${npm.config.get('long') ? usages() : ('\n ' + wrap(cmdList))}