mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-05 05:11:15 -03:00
Teach fish_indent to only indent and unindent
To be used in the following commits.
This commit is contained in:
@@ -25,6 +25,12 @@ The following options are available:
|
||||
**-i** or **--no-indent**
|
||||
Do not indent commands; only reformat to one job per line.
|
||||
|
||||
**--only-indent**
|
||||
Do not reformat, only indent each line.
|
||||
|
||||
**--only-unindent**
|
||||
Do not reformat, only unindent each line.
|
||||
|
||||
**-c** or **--check**
|
||||
Do not indent, only return 0 if the code is already indented as fish_indent would, the number of failed files otherwise. Also print the failed filenames if not reading from standard input.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user