Skip to content

Commit

Permalink
Merge pull request #13446 from XuehaiPan/shfmt-write
Browse files Browse the repository at this point in the history
utils/shfmt.sh: allow long shfmt arguments
  • Loading branch information
Bo98 committed Jun 18, 2022
2 parents 65e077a + 8f9f18f commit 4a42237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/utils/shfmt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ do
shift
break
fi
if [[ "${arg}" == "-w" ]]
if [[ "${arg}" == "-w" || "${arg}" == "--write" ]]
then
shift
INPLACE=1
Expand Down

0 comments on commit 4a42237

Please sign in to comment.