diff --git a/docs/user-guide/command-line-interface.md b/docs/user-guide/command-line-interface.md index 532d8f94735..64a85e25420 100644 --- a/docs/user-guide/command-line-interface.md +++ b/docs/user-guide/command-line-interface.md @@ -78,6 +78,7 @@ Caching: Miscellaneous: --init Run config initialization wizard - default: false + --info Output execution environment information - default: false --debug Output debugging information -h, --help Show help -v, --version Output the version number @@ -446,6 +447,10 @@ This option will start config initialization wizard. It's designed to help new u The resulting configuration file will be created in the current directory. +#### `--info` + +This option outputs information about the execution environment, including the version of Node, npm, and local and global installations of ESLint. The ESLint team may ask for this information to help solve bugs. + #### `--debug` This option outputs debugging information to the console. This information is useful when you're seeing a problem and having a hard time pinpointing it. The ESLint team may ask for this debugging information to help solve bugs. diff --git a/lib/options.js b/lib/options.js index 2e7576aaac9..227093e4b13 100644 --- a/lib/options.js +++ b/lib/options.js @@ -228,7 +228,7 @@ module.exports = optionator({ option: "info", type: "Boolean", default: "false", - description: "Output environment information for debugging purposes" + description: "Output execution environment information" }, { option: "debug",