completions/fish: Add --debug-output, remove debug levels

The levels don't do anything anymore, so we can remove them.
This commit is contained in:
Fabian Homborg 2020-12-14 19:30:18 +01:00
parent 6e9364ab50
commit edbb8ad0a4

View File

@ -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"