Teach fish_indent to only indent and unindent

To be used in the following commits.
This commit is contained in:
Johannes Altmanninger
2024-04-12 09:16:24 +02:00
parent 7369516871
commit 47a446ae18
6 changed files with 114 additions and 8 deletions

View File

@@ -1,6 +1,8 @@
complete -c fish_indent -s h -l help -d 'Display help and exit'
complete -c fish_indent -s v -l version -d 'Display version and exit'
complete -c fish_indent -s i -l no-indent -d 'Do not indent output, only reformat into one job per line'
complete -c fish_indent -l only-indent -d 'Do not reformat, only indent lines'
complete -c fish_indent -l only-unindent -d 'Do not reformat, only unindent lines'
complete -c fish_indent -l ansi -d 'Colorize the output using ANSI escape sequences'
complete -c fish_indent -l html -d 'Output in HTML format'
complete -c fish_indent -s w -l write -d 'Write to file'