We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfdf214 commit e362c6dCopy full SHA for e362c6d
lib/commands/prefix.js
@@ -5,7 +5,6 @@ class Prefix extends BaseCommand {
5
static description = 'Display prefix'
6
static name = 'prefix'
7
static params = ['global']
8
- static usage = ['[-g]']
9
10
async exec () {
11
return output.standard(this.npm.prefix)
tap-snapshots/test/lib/docs.js.test.cjs
@@ -3754,15 +3754,15 @@ exports[`test/lib/docs.js TAP usage prefix > must match snapshot 1`] = `
3754
Display prefix
3755
3756
Usage:
3757
-npm prefix [-g]
+npm prefix
3758
3759
Options:
3760
[-g|--global]
3761
3762
Run "npm help prefix" for more info
3763
3764
\`\`\`bash
3765
3766
\`\`\`
3767
3768
Note: This command is unaware of workspaces.
0 commit comments