Merge pull request #13446 from XuehaiPan/shfmt-write
utils/shfmt.sh: allow long shfmt arguments
This commit is contained in:
commit
4a422376bf
@ -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