utils/shfmt.sh: allow long shfmt arguments
This commit is contained in:
parent
65e077aac9
commit
8f9f18fe59
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user