A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/npm/cli/commit/e362c6d3a6c8bc0221b8c8a6c3dd623da9e6ae04 below:

remove duplicate -g from usage output (#7944) · npm/cli@e362c6d · GitHub

File tree Expand file treeCollapse file tree 2 files changed

+2

-3

lines changed

Filter options

Expand file treeCollapse file tree 2 files changed

+2

-3

lines changed Original file line number Diff line number Diff line change

@@ -5,7 +5,6 @@ class Prefix extends BaseCommand {

5 5

static description = 'Display prefix'

6 6

static name = 'prefix'

7 7

static params = ['global']

8 -

static usage = ['[-g]']

9 8 10 9

async exec () {

11 10

return output.standard(this.npm.prefix)

Original file line number Diff line number Diff line change

@@ -3754,15 +3754,15 @@ exports[`test/lib/docs.js TAP usage prefix > must match snapshot 1`] = `

3754 3754

Display prefix

3755 3755 3756 3756

Usage:

3757 -

npm prefix [-g]

3757 +

npm prefix

3758 3758 3759 3759

Options:

3760 3760

[-g|--global]

3761 3761 3762 3762

Run "npm help prefix" for more info

3763 3763 3764 3764

\`\`\`bash

3765 -

npm prefix [-g]

3765 +

npm prefix

3766 3766

\`\`\`

3767 3767 3768 3768

Note: This command is unaware of workspaces.

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4