diff options
Diffstat (limited to '')
-rw-r--r-- | completions/plague-client | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/completions/plague-client b/completions/plague-client index 4e98206..cec0b6c 100644 --- a/completions/plague-client +++ b/completions/plague-client @@ -1,14 +1,14 @@ # bash completion for plague-client -*- shell-script -*- -_plague_client() +_comp_cmd_plague_client() { - local cur prev words cword - _init_completion || return + local cur prev words cword comp_args + _comp_initialize -- "$@" || return ((cword == 1)) && - COMPREPLY=($(compgen -W 'build detail finish help is_paused kill list - list_builders pause requeue unpause update_builders' -- "$cur")) + _comp_compgen -- -W 'build detail finish help is_paused kill list + list_builders pause requeue unpause update_builders' } && - complete -F _plague_client plague-client + complete -F _comp_cmd_plague_client plague-client # ex: filetype=sh |