From 07357f5916ea7380a6008b6e29d50c1889311491 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 25 Oct 2016 15:13:01 +0200 Subject: Merging upstream version 20161101. Signed-off-by: Daniel Baumann --- share/bash-completion/container | 40 ---------------------------------------- 1 file changed, 40 deletions(-) (limited to 'share/bash-completion') diff --git a/share/bash-completion/container b/share/bash-completion/container index f6434f8..3bac382 100644 --- a/share/bash-completion/container +++ b/share/bash-completion/container @@ -82,46 +82,6 @@ _container() esac ;; - enter) - case "${cur}" in - -*) - opts="-n --name" - COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) - return 0 - ;; - - *) - case "${prev}" in - -n|--name) - opts=$(container list -s -f short) - COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) - return 0 - ;; - esac - ;; - esac - ;; - - limit) - case "${cur}" in - -*) - opts="-n --name --blockio-device-weight --blockio-read-bandwith -b --blockio-weight --blockio-write-bandwith -c --cpu-quota --cpu-shares -m --memory-limit -t --tasks-max" - COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) - return 0 - ;; - - *) - case "${prev}" in - -n|--name) - opts=$(container list -a -f short) - COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) - return 0 - ;; - esac - ;; - esac - ;; - list) case "${cur}" in -*) -- cgit v1.2.3