diff options
Diffstat (limited to 'share/bash-completion')
-rw-r--r-- | share/bash-completion/container | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/share/bash-completion/container b/share/bash-completion/container index bb3eb41..dfb7ad5 100644 --- a/share/bash-completion/container +++ b/share/bash-completion/container @@ -334,6 +334,22 @@ _container() return 0 ;; + update|u) + case "${prev}" in + -n|--name) + opts="$(container list -s -f shell)" + COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) + return 0 + ;; + + *) + opts="-n --name -y --yes" + COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) + return 0 + ;; + esac + ;; + version|ver) return 0 ;; |