-
-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
man page: incorrect statement regarding use of -
(read from stdin) and --filename
flag
#1079
Comments
Good point, and thank you for bringing it up. I agree with your first suggestion; even though the filename affects the parser, it also affects other parts of the tool such as the EditorConfig logic, so it can go under generic flags. |
This was referenced Nov 16, 2024
Open
Open
This was referenced Nov 16, 2024
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A little nitpick ...
The shfmt man page states
Here's the problem: The
--filename
flag, which is intended to help with finding EditorConfig files when reading from stdin is listed under Parser flags and thus (according to the statement above) should stop EditorConfig formatting options from being used.Possible solutions:
--filename
flag to either the Generic or Utility flags section, or--filename
flag to the statement quoted above.The text was updated successfully, but these errors were encountered: