diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2017-01-03 21:12:26 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2017-01-04 10:27:37 +0000 |
commit | e1b5849c170f77d9ff8ce810537d113da26d0f0b (patch) | |
tree | 399dba7bfb141269b6d16ef561ea81ec97b27f8a /share | |
parent | Adding bash-completion for container move command. (diff) | |
download | compute-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 '')
-rw-r--r-- | share/bash-completion/container | 4 |
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}) ) |