summaryrefslogtreecommitdiffstats
path: root/share/bash-completion
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-01-03 21:12:26 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-01-04 10:27:37 +0000
commite1b5849c170f77d9ff8ce810537d113da26d0f0b (patch)
tree399dba7bfb141269b6d16ef561ea81ec97b27f8a /share/bash-completion
parentAdding bash-completion for container move command. (diff)
downloadcompute-tools-e1b5849c170f77d9ff8ce810537d113da26d0f0b.tar.xz
compute-tools-e1b5849c170f77d9ff8ce810537d113da26d0f0b.zip
Adding bash-completion for container version command.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share/bash-completion')
-rw-r--r--share/bash-completion/container4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/bash-completion/container b/share/bash-completion/container
index fd916d1..19a8e0f 100644
--- a/share/bash-completion/container
+++ b/share/bash-completion/container
@@ -278,6 +278,10 @@ _container()
esac
;;
+ version)
+ return 0
+ ;;
+
*)
local commands=$(cd /usr/lib/container-tools/container 2>/dev/null && find * -type f -print)
COMPREPLY=( $(compgen -W "${commands}" -- ${cur}) )