diff --git a/Library/Homebrew/utils/shfmt.sh b/Library/Homebrew/utils/shfmt.sh index 3359a6adf4..996d1bb18b 100755 --- a/Library/Homebrew/utils/shfmt.sh +++ b/Library/Homebrew/utils/shfmt.sh @@ -56,7 +56,7 @@ do shift break fi - if [[ "${arg}" == "-w" ]] + if [[ "${arg}" == "-w" || "${arg}" == "--write" ]] then shift INPLACE=1