mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-24 03:21:15 -03:00
fish_indent: Allow multiple file arguments
Allows `fish_indent -w **.fish` to restyle all fish files under the current directory. (This also has the sideeffect of reducing style.fish time by ~10s, as we only need to invoke `fish_indent` once, instead of once per-file)
This commit is contained in:
@@ -6,13 +6,13 @@ fish_indent - indenter and prettifier
|
||||
Synopsis
|
||||
--------
|
||||
|
||||
fish_indent [OPTIONS]
|
||||
fish_indent [OPTIONS] [FILE...]
|
||||
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
``fish_indent`` is used to indent a piece of fish code. ``fish_indent`` reads commands from standard input and outputs them to standard output or a specified file.
|
||||
``fish_indent`` is used to indent a piece of fish code. ``fish_indent`` reads commands from standard input or the given filenames and outputs them to standard output or a specified file (if `-w` is given).
|
||||
|
||||
The following options are available:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user