utils/shfmt.sh: allow long shfmt arguments

This commit is contained in:
Xuehai Pan 2022-06-18 17:27:56 +08:00
parent 65e077aac9
commit 8f9f18fe59

View File

@ -56,7 +56,7 @@ do
shift shift
break break
fi fi
if [[ "${arg}" == "-w" ]] if [[ "${arg}" == "-w" || "${arg}" == "--write" ]]
then then
shift shift
INPLACE=1 INPLACE=1