-
-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/shfmt: move --filename out of parser options
The man page says: If any parser or printer flags are given to the tool, no EditorConfig formatting options will be used. This clearly does not apply to --filename, which primarily exists so that stdin inputs can still use EditorConfig filename matching. While here, add a note about EditorConfig support to the help text, which wasn't obvious unless the user went to read `man shfmt`. Fixes #1079.
- Loading branch information
Showing
2 changed files
with
10 additions
and
8 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
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