summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2022-06-05 06:14:10 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2022-06-05 06:14:19 +0000
commited8782fe362e73056c019575b2de5874a10cbd79 (patch)
tree17096197169b08a1d41212ef103d6cdb5997ed9a
parentReleasing version 20220604. (diff)
downloadcompute-tools-ed8782fe362e73056c019575b2de5874a10cbd79.tar.xz
compute-tools-ed8782fe362e73056c019575b2de5874a10cbd79.zip
Correcting container status bash-completion to complete on all containers rather than only stopped ones.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
-rw-r--r--share/bash-completion/container2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/bash-completion/container b/share/bash-completion/container
index 7792201..8a1f43d 100644
--- a/share/bash-completion/container
+++ b/share/bash-completion/container
@@ -315,7 +315,7 @@ _container()
status|st)
case "${prev}" in
-n|--name)
- opts="$(container list -t -f shell)"
+ opts="$(container list -f shell)"
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
;;