utils/shfmt.sh: allow long shfmt arguments
This commit is contained in:
parent
65e077aac9
commit
8f9f18fe59
@ -56,7 +56,7 @@ do
|
||||
shift
|
||||
break
|
||||
fi
|
||||
if [[ "${arg}" == "-w" ]]
|
||||
if [[ "${arg}" == "-w" || "${arg}" == "--write" ]]
|
||||
then
|
||||
shift
|
||||
INPLACE=1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user