From bef453f69bcc89dd9a0f5083d2c95521746bdf05 Mon Sep 17 00:00:00 2001 From: nick <49458459+ndonfris@users.noreply.github.com> Date: Tue, 15 Jul 2025 15:40:18 -0500 Subject: [PATCH] `fish_indent -c/--check` completions Manpage `fish_indent(1)` documents the `-c/--check` option, which checks if a file is already indented as `fish_indent` would. This option is now included in the completions for `fish_indent`. --- share/completions/fish_indent.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/share/completions/fish_indent.fish b/share/completions/fish_indent.fish index f113099ef..d162a2abb 100644 --- a/share/completions/fish_indent.fish +++ b/share/completions/fish_indent.fish @@ -1,5 +1,6 @@ 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 c -l check -d 'Do not indent, only return 0 if the code is already indented as fish_indent would' 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'