Skip to content

Commit

Permalink
cmd/shfmt: incorrect flag name for --case-indent
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tmillr authored and mvdan committed Jul 6, 2022
1 parent a6e3029 commit ab95a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/shfmt/shfmt.1.scd
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ predictable. Some aspects of the format can be configured via printer flags.
*-bn*, *--binary-next-line*
Binary ops like *&&* and *|* may start a line.

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

*-sr*, *--space-redirects*
Expand Down

0 comments on commit ab95a7f

Please sign in to comment.