diff --git a/docs/user-guide/cli.md b/docs/user-guide/cli.md index f243230d21..3737967cac 100644 --- a/docs/user-guide/cli.md +++ b/docs/user-guide/cli.md @@ -94,7 +94,7 @@ Path of file to write a report. Stylelint outputs the report to the specified `f ### `--print-config` -Print the configuration for the given input path. +Print the configuration for the given input path. Globs are unsupported. ### `--quiet, -q` @@ -206,6 +206,14 @@ Ensure output on successful runs: stylelint -f verbose "foo/**/*.css" ``` +### Example J - print a config + +Print a configuration used for the given input file: + +```shell +stylelint test.css --print-config +``` + ## Exit codes The CLI can exit the process with the following exit codes: