summaryrefslogtreecommitdiffstats
path: root/share/bash-completion/container
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2016-11-12 07:54:22 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2016-11-12 07:54:22 +0000
commit7615d7894519e1afd313b03976643eec73a779c9 (patch)
tree835acf822c6dd0baef468ab3a6d9c2b116930e75 /share/bash-completion/container
parentReleasing debian version 20161105-1. (diff)
downloadopen-infrastructure-compute-tools-7615d7894519e1afd313b03976643eec73a779c9.tar.xz
open-infrastructure-compute-tools-7615d7894519e1afd313b03976643eec73a779c9.zip
Merging upstream version 20161112.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'share/bash-completion/container')
-rw-r--r--share/bash-completion/container6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/bash-completion/container b/share/bash-completion/container
index f6434f8..e49311a 100644
--- a/share/bash-completion/container
+++ b/share/bash-completion/container
@@ -122,7 +122,7 @@ _container()
esac
;;
- list)
+ list|ls)
case "${cur}" in
-*)
opts="-a --all -f --format -h --host -o --other -s --started -t --stopped"
@@ -148,7 +148,7 @@ _container()
esac
;;
- remove)
+ remove|rm)
case "${cur}" in
-*)
opts="-n --name -f --force"
@@ -249,7 +249,7 @@ _container()
;;
*)
- local commands=$(cd /usr/lib/container-tools/container 2>/dev/null && ls)
+ local commands=$(cd /usr/lib/container-tools/container 2>/dev/null && find * -type f -print)
COMPREPLY=( $(compgen -W "${commands}" -- ${cur}) )
return 0
;;