2010-11-23 23:45:30 +08:00
\section fish_indent fish_indent - indenter and prettifier
2007-04-22 18:03:12 +08:00
\subsection fish_indent-synopsis Synopsis
2014-08-01 20:25:41 +08:00
\fish{synopsis}
2014-08-08 10:44:37 +08:00
fish_indent [OPTIONS]
2014-08-01 10:37:32 +08:00
\endfish
2007-04-22 18:03:12 +08:00
\subsection fish_indent-description Description
2014-08-19 20:41:23 +08:00
`fish_indent` is used to indent a piece of fish code. `fish_indent` reads commands from standard input and outputs them to standard output.
2007-04-22 18:03:12 +08:00
Help cleanup
Large list of changes, including formatting and typos for most commands.
More substantive changes have been made to alias, bind, block, break,
builtin, case, cd, commandline, count, else, emit, fish_config, funced,
function, functions, history, math, mimedb, nextd, not, popd, prevd,
pushd, pwd, random, read, set, set_color, switch, test, trap, type,
ulimit, umask, and while.
2013-05-12 15:56:01 +08:00
The following options are available:
2007-04-22 18:03:12 +08:00
2014-09-17 10:18:07 +08:00
- `-i` or `--no-indent` do not indent commands; only reformat to one job per line
2014-08-19 20:41:23 +08:00
2014-08-01 10:37:32 +08:00
- `-v` or `--version` displays the current fish version and then exits
2007-04-22 18:03:12 +08:00
2014-12-25 05:05:31 +08:00
- `--ansi` colorizes the output using ANSI escape sequences, appropriate for the current $TERM, using the colors defined in the environment (such as `$fish_color_command`).
2014-12-24 09:21:54 +08:00
2014-12-25 05:05:31 +08:00
- `--html` outputs HTML, which supports syntax highlighting if the appropriate CSS is defined. The CSS class names are the same as the variable names, such as `fish_color_command`