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 #899

Closed tmillr closed 2 years ago

tmillr commented 2 years ago

The shfmt manpage had a typo for the long-option --case-indent. It has been corrected from --switch-case-indent, which was not a valid option.

Fixes #898.