2010-11-23 15:45:30 +00:00
\section fish_indent fish_indent - indenter and prettifier
2007-04-22 10:03:12 +00:00
\subsection fish_indent-synopsis Synopsis
2014-08-01 12:25:41 +00:00
\fish{synopsis}
2014-08-08 02:44:37 +00:00
fish_indent [OPTIONS]
2014-08-01 02:37:32 +00:00
\endfish
2007-04-22 10:03:12 +00:00
\subsection fish_indent-description Description
2014-08-19 12:41:23 +00: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 10:03:12 +00: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 07:56:01 +00:00
The following options are available:
2007-04-22 10:03:12 +00:00
2014-09-17 02:18:07 +00:00
- `-i` or `--no-indent` do not indent commands; only reformat to one job per line
2014-08-19 12:41:23 +00:00
2014-08-01 02:37:32 +00:00
- `-v` or `--version` displays the current fish version and then exits
2007-04-22 10:03:12 +00:00
2014-12-24 21:05:31 +00: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 01:21:54 +00:00
2014-12-24 21:05:31 +00: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`