summaryrefslogtreecommitdiffstats
path: root/share/bash-completion/container
diff options
context:
space:
mode:
Diffstat (limited to 'share/bash-completion/container')
-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 5ec4741..9dcdbc3 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="cli short"
+ opts="cli shell"
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
;;