Missing -q/--query flag for builtin

This commit is contained in:
Kid 2022-08-19 17:30:51 +00:00
parent a6a9a7cc6d
commit d8e0cbb759

View file

@ -1,4 +1,5 @@
complete -c builtin -n 'test (count (commandline -opc)) -eq 1' -s h -l help -d 'Display help and exit'
complete -c builtin -n 'test (count (commandline -opc)) -eq 1' -s n -l names -d 'Print names of all existing builtins'
complete -c builtin -n 'test (count (commandline -opc)) -eq 1' -s q -l query -d 'Tests if builtin exists'
complete -c builtin -n 'test (count (commandline -opc)) -eq 1' -xa '(builtin -n)'
complete -c builtin -n 'test (count (commandline -opc)) -ge 2' -xa '(__fish_complete_subcommand)'