diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/sh/comp_butck.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/sh/comp_butck.sh b/scripts/sh/comp_butck.sh index b59dc62..1cf0990 100644 --- a/scripts/sh/comp_butck.sh +++ b/scripts/sh/comp_butck.sh @@ -30,7 +30,7 @@ _butck_completion() { ;; -p|--policy) local policies - policies=$(butck policies 2>/dev/null) + policies=$(butck lspolicy-all 2>/dev/null) COMPREPLY=($(compgen -W "$policies" -- "$cur")) return ;; @@ -40,7 +40,7 @@ _butck_completion() { esac if [[ $cword -eq 1 ]]; then - COMPREPLY=($(compgen -W "write build state policies stream_policies simple_policies" -- "$cur")) + COMPREPLY=($(compgen -W "write build lspolicy lspolicy-all" -- "$cur")) fi if [[ $cword -ge 2 ]]; then |
