Skip to content

Commit

Permalink
elaborate that npm help uses browser
Browse files Browse the repository at this point in the history
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: #2502
Credit: @ariccio
Close: #2502
Reviewed-by: @isaacs
  • Loading branch information
ariccio authored and isaacs committed Feb 1, 2021
1 parent a8e77f2 commit 13a5e31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/utils/npm-usage.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ npm test run this project's tests
npm run <foo> run the script named <foo>
npm <command> -h quick help on <command>
npm -l display usage info for all commands
npm help <term> search for help on <term>
npm help npm more involved overview
npm help <term> search for help on <term> (in a browser)
npm help npm more involved overview (in a browser)
All commands:
${npm.config.get('long') ? usages() : ('\n ' + wrap(cmdList))}
Expand Down

0 comments on commit 13a5e31

Please sign in to comment.