diff --git a/docs/user-guide/command-line-interface.md b/docs/user-guide/command-line-interface.md index 97d3d4e66ca..03f96af7561 100644 --- a/docs/user-guide/command-line-interface.md +++ b/docs/user-guide/command-line-interface.md @@ -74,7 +74,7 @@ Miscellaneous: --debug Output debugging information -h, --help Show help -v, --version Outputs the version number - --no-inline-config Prevent comments from changing eslint rules - + --no-inline-config Prevent comments from changing config or rules - default: false --print-config Print the configuration to be used ``` diff --git a/lib/options.js b/lib/options.js index e7f70ea0925..386a25887d2 100644 --- a/lib/options.js +++ b/lib/options.js @@ -213,7 +213,7 @@ module.exports = optionator({ option: "inline-config", type: "Boolean", default: "true", - description: "Allow comments to change eslint config/rules" + description: "Prevent comments from changing config or rules" }, { option: "print-config",