diff --git a/cmd/shfmt/shfmt.1.scd b/cmd/shfmt/shfmt.1.scd index 859e4a9b..07cfc374 100644 --- a/cmd/shfmt/shfmt.1.scd +++ b/cmd/shfmt/shfmt.1.scd @@ -131,7 +131,10 @@ keep_padding = true # --func-next-line function_next_line = true -# Ignore the entire "third_party" directory. +# Ignore the entire "third_party" directory when formatting directories, +# such as "shfmt -l -w .". +# When formatting regular files explicitly, like "shfmt -w third_party/foo.sh", +# the files are always formatted regardless of this setting. [third_party/**] ignore = true ```