diff --git a/tap-snapshots/test/lib/docs.js.test.cjs b/tap-snapshots/test/lib/docs.js.test.cjs index f3391720b89d9..a8a72cb50e25c 100644 --- a/tap-snapshots/test/lib/docs.js.test.cjs +++ b/tap-snapshots/test/lib/docs.js.test.cjs @@ -216,9 +216,10 @@ The value \`private\` is an alias for \`restricted\`. * Default: false * Type: Boolean -When running \`npm outdated\` and \`npm ls\`, setting \`--all\` will show all -outdated or installed packages, rather than only those directly depended -upon by the current project. +Show or act on all packages, not just the ones your project directly depends +on. For \`npm outdated\` and \`npm ls\` this lists every outdated or installed +package. For \`npm approve-scripts\` and \`npm deny-scripts\` it selects every +package with pending install scripts. @@ -3053,7 +3054,7 @@ Options: [-a|--all] [--allow-scripts-pending] [--no-allow-scripts-pin] [--json] -a|--all - When running \`npm outdated\` and \`npm ls\`, setting \`--all\` will show + Show or act on all packages, not just the ones your project directly --allow-scripts-pending List packages with install scripts that are not yet covered by the @@ -3566,7 +3567,7 @@ Options: [-a|--all] [--allow-scripts-pending] [--no-allow-scripts-pin] [--json] -a|--all - When running \`npm outdated\` and \`npm ls\`, setting \`--all\` will show + Show or act on all packages, not just the ones your project directly --allow-scripts-pending List packages with install scripts that are not yet covered by the @@ -4841,7 +4842,7 @@ Options: [--workspaces] [--include-workspace-root] [--install-links] -a|--all - When running \`npm outdated\` and \`npm ls\`, setting \`--all\` will show + Show or act on all packages, not just the ones your project directly --json Whether or not to output JSON data, rather than the normal output. @@ -4988,7 +4989,7 @@ Options: [--workspaces] [--include-workspace-root] [--install-links] -a|--all - When running \`npm outdated\` and \`npm ls\`, setting \`--all\` will show + Show or act on all packages, not just the ones your project directly --json Whether or not to output JSON data, rather than the normal output. @@ -5137,7 +5138,7 @@ Options: [--before ] [--min-release-age ] -a|--all - When running \`npm outdated\` and \`npm ls\`, setting \`--all\` will show + Show or act on all packages, not just the ones your project directly --json Whether or not to output JSON data, rather than the normal output. diff --git a/workspaces/config/lib/definitions/definitions.js b/workspaces/config/lib/definitions/definitions.js index 531025e08bfeb..cf5eb7694eb53 100644 --- a/workspaces/config/lib/definitions/definitions.js +++ b/workspaces/config/lib/definitions/definitions.js @@ -178,9 +178,10 @@ const definitions = { type: Boolean, short: 'a', description: ` - When running \`npm outdated\` and \`npm ls\`, setting \`--all\` will show - all outdated or installed packages, rather than only those directly - depended upon by the current project. + Show or act on all packages, not just the ones your project directly + depends on. For \`npm outdated\` and \`npm ls\` this lists every outdated + or installed package. For \`npm approve-scripts\` and \`npm deny-scripts\` + it selects every package with pending install scripts. `, flatten, }), @@ -2338,13 +2339,13 @@ const definitions = { If you ask npm to install a package and don't tell it a specific version, then it will install the specified tag. - It is the tag added to the package@version specified in the + It is the tag added to the package@version specified in the \`npm dist-tag add\` command, if no explicit tag is given. When used by the \`npm diff\` command, this is the tag used to fetch the tarball that will be compared with the local files by default. - - If used in the \`npm publish\` command, this is the tag that will be + + If used in the \`npm publish\` command, this is the tag that will be added to the package submitted to the registry. `, flatten (key, obj, flatOptions) {