From edbb8ad0a4b7ae2704e3ab71e531a76d4ceb99ae Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Mon, 14 Dec 2020 19:30:18 +0100 Subject: [PATCH] completions/fish: Add --debug-output, remove debug levels The levels don't do anything anymore, so we can remove them. --- share/completions/fish.fish | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/share/completions/fish.fish b/share/completions/fish.fish index deb2d4e32..44d26b30f 100644 --- a/share/completions/fish.fish +++ b/share/completions/fish.fish @@ -6,13 +6,8 @@ complete -c fish -s n -l no-execute -d "Only parse input, do not execute" complete -c fish -s i -l interactive -d "Run in interactive mode" complete -c fish -s l -l login -d "Run as a login shell" complete -c fish -s p -l profile -d "Output profiling information to specified file" -r -complete -c fish -s d -l debug -d "Specify debug categories" -x -a "0\t'Warnings silenced' -1\t'Default' -2\t'Basic debug output' -3\t'More debug output' -4\t'Much more debug output' -5\t'Too much debug output' -(fish --print-debug-categories | string replace ' ' \t)" +complete -c fish -s d -l debug -d "Specify debug categories" -x -a "(fish --print-debug-categories | string replace ' ' \t)" +complete -c fish -s o -l debug-output -d "Where to direct debug output to" -rF 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"