summaryrefslogtreecommitdiffstats
path: root/share/bash-completion
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2016-12-11 12:34:28 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2016-12-11 12:34:51 +0000
commitc57f861235add6b95e81c9835e5078452d342e7c (patch)
tree4ed55298f238922ef4edb1ce0304a559fc9c6a41 /share/bash-completion
parentReleasing debian version 20161201-1. (diff)
downloadopen-infrastructure-compute-tools-c57f861235add6b95e81c9835e5078452d342e7c.tar.xz
open-infrastructure-compute-tools-c57f861235add6b95e81c9835e5078452d342e7c.zip
Merging upstream version 20161210.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'share/bash-completion')
-rw-r--r--share/bash-completion/container18
1 files changed, 9 insertions, 9 deletions
diff --git a/share/bash-completion/container b/share/bash-completion/container
index e49311a..8d54ba4 100644
--- a/share/bash-completion/container
+++ b/share/bash-completion/container
@@ -47,7 +47,7 @@ _container()
*)
case "${prev}" in
-n|--name)
- opts=$(container list -s -f short)
+ opts=$(container list -s -f shell)
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
;;
@@ -93,7 +93,7 @@ _container()
*)
case "${prev}" in
-n|--name)
- opts=$(container list -s -f short)
+ opts=$(container list -s -f shell)
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
;;
@@ -113,7 +113,7 @@ _container()
*)
case "${prev}" in
-n|--name)
- opts=$(container list -a -f short)
+ opts=$(container list -a -f shell)
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
;;
@@ -139,7 +139,7 @@ _container()
;;
-f|--format)
- opts="short full"
+ opts="cli csv json nwdiag shell yaml xml"
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
;;
@@ -159,7 +159,7 @@ _container()
*)
case "${prev}" in
-n|--name)
- opts=$(container list -t -f short)
+ opts=$(container list -t -f shell)
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
;;
@@ -179,7 +179,7 @@ _container()
*)
case "${prev}" in
-n|--name)
- opts=$(container list -s -f short)
+ opts=$(container list -s -f shell)
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
;;
@@ -199,7 +199,7 @@ _container()
*)
case "${prev}" in
-n|--name)
- opts=$(container list -t -f short)
+ opts=$(container list -t -f shell)
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
;;
@@ -219,7 +219,7 @@ _container()
*)
case "${prev}" in
-n|--name)
- opts=$(container list -t -f short)
+ opts=$(container list -t -f shell)
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
;;
@@ -239,7 +239,7 @@ _container()
*)
case "${prev}" in
-n|--name)
- opts=$(container list -s -f short)
+ opts=$(container list -s -f shell)
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
;;