Skip to content

Commit 993df30

Browse files
gurdigawraithgar
authored andcommitted
fix(docs): ls command usage instructions
PR-URL: #3423 Credit: @gurdiga Close: #3423 Reviewed-by: @ruyadorno
1 parent 102d4e6 commit 993df30

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/ls.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class LS extends ArboristWorkspaceCmd {
3636

3737
/* istanbul ignore next - see test/lib/load-all-commands.js */
3838
static get usage () {
39-
return ['npm ls [[<@scope>/]<pkg> ...]']
39+
return ['[[<@scope>/]<pkg> ...]']
4040
}
4141

4242
/* istanbul ignore next - see test/lib/load-all-commands.js */

tap-snapshots/test/lib/load-all-commands.js.test.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ npm ls
583583
List installed packages
584584
585585
Usage:
586-
npm ls npm ls [[<@scope>/]<pkg> ...]
586+
npm ls [[<@scope>/]<pkg> ...]
587587
588588
Options:
589589
[-a|--all] [--json] [-l|--long] [-p|--parseable] [-g|--global] [--depth <depth>]

tap-snapshots/test/lib/utils/npm-usage.js.test.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ All commands:
678678
List installed packages
679679
680680
Usage:
681-
npm ls npm ls [[<@scope>/]<pkg> ...]
681+
npm ls [[<@scope>/]<pkg> ...]
682682
683683
Options:
684684
[-a|--all] [--json] [-l|--long] [-p|--parseable] [-g|--global] [--depth <depth>]

0 commit comments

Comments
 (0)