diff --git a/lib/ls.js b/lib/ls.js index 78263554ca0a1..319439fcc8f48 100644 --- a/lib/ls.js +++ b/lib/ls.js @@ -36,7 +36,7 @@ class LS extends ArboristWorkspaceCmd { /* istanbul ignore next - see test/lib/load-all-commands.js */ static get usage () { - return ['npm ls [[<@scope>/] ...]'] + return ['[[<@scope>/] ...]'] } /* istanbul ignore next - see test/lib/load-all-commands.js */ diff --git a/tap-snapshots/test/lib/load-all-commands.js.test.cjs b/tap-snapshots/test/lib/load-all-commands.js.test.cjs index 097123d46a3cc..ff6a5fb321e94 100644 --- a/tap-snapshots/test/lib/load-all-commands.js.test.cjs +++ b/tap-snapshots/test/lib/load-all-commands.js.test.cjs @@ -583,7 +583,7 @@ npm ls List installed packages Usage: -npm ls npm ls [[<@scope>/] ...] +npm ls [[<@scope>/] ...] Options: [-a|--all] [--json] [-l|--long] [-p|--parseable] [-g|--global] [--depth ] diff --git a/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs b/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs index 54f6c3d2feb2a..e5ae7d827a6ca 100644 --- a/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs +++ b/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs @@ -678,7 +678,7 @@ All commands: List installed packages Usage: - npm ls npm ls [[<@scope>/] ...] + npm ls [[<@scope>/] ...] Options: [-a|--all] [--json] [-l|--long] [-p|--parseable] [-g|--global] [--depth ]