mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-19 18:01:15 -03:00
fish_indent: Print the failed files with --check
Also return the number of failed files. I decided to *just* print the filenames (newline-separated because NULLs are annoying here) to make it easier to deal with. See #7251.
This commit is contained in:
@@ -22,7 +22,7 @@ The following options are available:
|
||||
|
||||
- ``-i`` or ``--no-indent`` do not indent commands; only reformat to one job per line.
|
||||
|
||||
- ``-c`` or ``--check`` do not indent, only return 0 if the code is already indented as fish_indent would, 1 otherwise.
|
||||
- ``-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 stdin.
|
||||
|
||||
- ``-v`` or ``--version`` displays the current fish version and then exits.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user