From 38e66afc8ff3b669eece39e2c2d693b64fc15a5f Mon Sep 17 00:00:00 2001 From: darkred Date: Fri, 12 Nov 2021 23:36:37 +0200 Subject: [PATCH 1/2] docs: Expand `--debug` option description --- docs/user-guide/command-line-interface.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/user-guide/command-line-interface.md b/docs/user-guide/command-line-interface.md index 9ee7df474c6..bf4b0bcfc2e 100644 --- a/docs/user-guide/command-line-interface.md +++ b/docs/user-guide/command-line-interface.md @@ -473,7 +473,8 @@ This option causes ESLint to exit with exit code 2 if one or more fatal parsing #### `--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. +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. +Add this flag to an ESLint command line invocation in order to get extra debug information as the command is run (e.g. `eslint --debug test.js` and `eslint test.js --debug` are both equivalent) #### `-h`, `--help` From d01ad382aa9968c47ed5e9538268d87443922b2f Mon Sep 17 00:00:00 2001 From: darkred Date: Fri, 12 Nov 2021 23:44:47 +0200 Subject: [PATCH 2/2] Update command-line-interface.md --- docs/user-guide/command-line-interface.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user-guide/command-line-interface.md b/docs/user-guide/command-line-interface.md index bf4b0bcfc2e..ad84c37b6be 100644 --- a/docs/user-guide/command-line-interface.md +++ b/docs/user-guide/command-line-interface.md @@ -474,7 +474,7 @@ This option causes ESLint to exit with exit code 2 if one or more fatal parsing #### `--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. -Add this flag to an ESLint command line invocation in order to get extra debug information as the command is run (e.g. `eslint --debug test.js` and `eslint test.js --debug` are both equivalent) +Add this flag to an ESLint command line invocation in order to get extra debug information as the command is run (e.g. `eslint --debug test.js` and `eslint test.js --debug` are equivalent) #### `-h`, `--help`