mvdan / sh

A shell parser, formatter, and interpreter with bash support; includes shfmt
https://pkg.go.dev/mvdan.cc/sh/v3
BSD 3-Clause "New" or "Revised" License
7.1k stars 336 forks source link

cmd/shfmt: incorrect flag name for --case-indent #898

Closed tmillr closed 2 years ago

tmillr commented 2 years ago

-ci, --switch-case-indent Switch cases will be indented.

but actually using --switch-case-indent doesn't work, rather it is supposed to be --case-indent apparently

mvdan commented 2 years ago

Oops, nice catch. Want to send a pull request?