"Fossies" - the Fresh Open Source Software Archive

Member "fish-3.0.2/share/man/man1/fish_indent.1" (19 Feb 2019, 1774 Bytes) of package /linux/misc/fish-3.0.2.tar.gz:

Caution: As a special service "Fossies" has tried to format the requested manual source page into HTML format but links to other man pages may be missing or even errorneous. Alternatively you can here view or download the uninterpreted manual source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field. See also the latest Fossies "Diffs" side-by-side code changes report for "fish_indent.1": 3.0.1_vs_3.0.2.




fish_indent - indenter and prettifier


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.

The following options are available:

-w or --write indents a specified file and immediately writes to that file.

-i or --no-indent do not indent commands; only reformat to one job per line.

-v or --version displays the current fish version and then exits.

--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).

--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.

-d or --debug-level=DEBUG_LEVEL enables debug output and specifies a verbosity level (like fish -d). Defaults to 0.

-D or --debug-stack-frames=DEBUG_LEVEL specify how many stack frames to display when debug messages are written. The default is zero. A value of 3 or 4 is usually sufficient to gain insight into how a given debug call was reached but you can specify a value up to 128.

--dump-parse-tree dumps information about the parsed statements to stderr. This is likely to be of interest only to people working on the fish source code.