From 6d66c47f70ccf66e5604a65b5be3df3a8ef0474f Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Tue, 28 May 2019 22:43:37 +0200 Subject: [PATCH] completions/fish: Add FLOG additions [ci skip] --- share/completions/fish.fish | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/share/completions/fish.fish b/share/completions/fish.fish index 8f5680fee..603aadfe2 100644 --- a/share/completions/fish.fish +++ b/share/completions/fish.fish @@ -11,7 +11,8 @@ complete -c fish -s d -l debug-level -d "Specify verbosity level" -x -a "0\t'War 2\t'Basic debug output' 3\t'More debug output' 4\t'Much more debug output' -5\t'Too much debug output'" +5\t'Too much debug output' +(fish --print-debug-categories | string replace ' ' \t)" complete -c fish -s D -l debug-stack-frames -d "Show specified # of frames with debug output" -x -a "(seq 128)\t\n" complete -c fish -s P -l private -d "Do not persist history" @@ -22,5 +23,6 @@ function __fish_complete_features end complete -c fish -s f -l features -d "Run with comma-separated feature flags enabled" -a "(__fish_complete_features)" -x complete -c fish -l print-rusage-self -d "Print stats from getrusage at exit" -f +complete -c fish -l print-debug-categories -d "Print the debug categories fish knows" -f -complete -c fish -x -a "(__fish_complete_suffix .fish)" \ No newline at end of file +complete -c fish -x -a "(__fish_complete_suffix .fish)"