Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/utils
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils')
-rw-r--r--lib/utils/config/definitions.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/utils/config/definitions.js b/lib/utils/config/definitions.js
index 4c77e375c..6b35e7d4d 100644
--- a/lib/utils/config/definitions.js
+++ b/lib/utils/config/definitions.js
@@ -535,7 +535,7 @@ define('dev', {
define('diff', {
default: [],
- hint: '<pkg-name|spec|version>',
+ hint: '<package-spec>',
type: [String, Array],
description: `
Define arguments to compare in \`npm diff\`.
@@ -1458,7 +1458,7 @@ define('otp', {
define('package', {
default: [],
- hint: '<pkg>[@<version>]',
+ hint: '<package-spec>',
type: [String, Array],
description: `
The package to install for [\`npm exec\`](/commands/npm-exec)
@@ -1867,7 +1867,7 @@ define('script-shell', {
type: [null, String],
description: `
The shell to use for scripts run with the \`npm exec\`,
- \`npm run\` and \`npm init <pkg>\` commands.
+ \`npm run\` and \`npm init <package-spec>\` commands.
`,
flatten (key, obj, flatOptions) {
flatOptions.scriptShell = obj[key] || undefined