Completions: Do not pass options to `kdb complete`
Before this change the completion would fail if the current `kdb`
command contained a non-existent option.
@@ -67,7 +67,7 @@ end
function __fish_kdb_print_namespaces -d 'Print a list of possible namespace completions'
set -l namespace (commandline -ct)
- kdb complete --max-depth=1 "$namespace" | string match -vr '(dir|proc|spec|user)$'
+ kdb complete --max-depth=1 -- "$namespace" | string match -vr '(dir|proc|spec|user)$'
end
function __fish_kdb_add_option -d 'Add suggestions for a certain option to multiple kdb subcommands'
