From 8696fd8d894485814ec1ab23095c54024a19c1eb Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 4 Mar 2019 12:13:21 +0100 Subject: Adding upstream version 20190304. Signed-off-by: Daniel Baumann --- share/bash-completion/container | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'share/bash-completion') diff --git a/share/bash-completion/container b/share/bash-completion/container index 0013394..e130710 100644 --- a/share/bash-completion/container +++ b/share/bash-completion/container @@ -98,6 +98,27 @@ _container() esac ;; + key) + opts="-a --add -l --list -r --remove" + COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) + return 0 + + limit) + case "${prev}" in + -n|--name) + opts="$(container list -a -f shell)" + COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) + return 0 + ;; + + *) + opts="-n --name --blockio-device-weight --blockio-read-bandwidth -b --blockio-weight --blockio-write-bandwidth -c --cpu-quota --cpu-shares -m --memory-limit -t --tasks-max" + COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) + return 0 + ;; + esac + ;; + list|ls) case "${prev}" in -h|--host) -- cgit v1.2.3