summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-01-03 20:55:43 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-01-04 10:27:36 +0000
commitb3fa0bec66fe23d1301c4a83ae77aecfa24b7f8e (patch)
treea57a09256d39f951cfbb00e755f20ae2d1b30cb9 /share
parentAdding net-tools to required packages in host-setup documentation. (diff)
downloadcompute-tools-b3fa0bec66fe23d1301c4a83ae77aecfa24b7f8e.tar.xz
compute-tools-b3fa0bec66fe23d1301c4a83ae77aecfa24b7f8e.zip
Adding bash-completion for container auto command.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rw-r--r--share/bash-completion/container10
1 files changed, 10 insertions, 0 deletions
diff --git a/share/bash-completion/container b/share/bash-completion/container
index 8d54ba4..99d342b 100644
--- a/share/bash-completion/container
+++ b/share/bash-completion/container
@@ -36,6 +36,16 @@ _container()
fi
case "${cmd}" in
+ auto)
+ case "${cur}" in
+ -*)
+ opts="-f --force -s --start -t --stop"
+ COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
+ return 0
+ ;;
+ esac
+ ;;
+
console)
case "${cur}" in
-*)