fish_indent: Change --debug-level to --debug with flog categories

The "debug-level" flag makes little sense since we have no more
debug *levels* left.
This commit is contained in:
Fabian Homborg
2020-12-14 19:25:55 +01:00
parent e8dcef5a71
commit 6e9364ab50
3 changed files with 33 additions and 5 deletions

View File

@@ -30,6 +30,8 @@ The following options are available:
- ``--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. Defaults to 0.
- ``-d`` or ``--debug=DEBUG_CATEGORIES`` enable debug output and specify a pattern for matching debug categories. See :ref:`Debugging <debugging-fish>` in :ref:`fish(1) <cmd-fish>` for details.
- ``-o`` or ``--debug-output=DEBUG_FILE`` specify a file path to receive the debug output, including categories and ``fish_trace``. The default is stderr.
- ``--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.