-
-
Notifications
You must be signed in to change notification settings - Fork 934
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
--print-config
description in CLI help (#6914)
The `--print-config` option never requires an argument. For example: ```console $ bin/stylelint.js --print-config -c scripts/visual-config.json scripts/visual.css { "rules": { ... ``` On the other hand, the following example is mistaken: ```console $ bin/stylelint.js --print-config scripts/visual-config.json Error: No configuration provided for /Users/masafumi.koba/git/stylelint/stylelint/scripts/visual-config.json ... ```
- Loading branch information
1 parent
cbc0b6e
commit 5fac5dc
Showing
4 changed files
with
18 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"stylelint": patch | ||
--- | ||
|
||
Fixed: `--print-config` description in CLI help |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters