summaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
Diffstat (limited to 'completions')
-rw-r--r--completions/bash/podman12
1 files changed, 10 insertions, 2 deletions
diff --git a/completions/bash/podman b/completions/bash/podman
index d1dcef0a4..958633bf0 100644
--- a/completions/bash/podman
+++ b/completions/bash/podman
@@ -104,7 +104,7 @@ __podman_complete_containers_running() {
}
__podman_complete_containers_stopped() {
- __podman_complete_containers "$@" --filter status=exited
+ __podman_complete_containers "$@" --all --filter status=exited
}
__podman_complete_containers_unpauseable() {
@@ -2448,7 +2448,7 @@ _podman_start() {
COMPREPLY=($(compgen -W "$boolean_options $options_with_args" -- "$cur"))
;;
*)
- __podman_complete_container_names
+ __podman_complete_containers_stopped
;;
esac
}
@@ -2897,13 +2897,21 @@ _podman_image_exists() {
_podman_pod_create() {
local options_with_args="
+ --add-host
--cgroup-parent
+ --dns
+ --dns-opt
+ --dns-search
--infra-command
--infra-image
+ --ip
--label-file
--label
-l
+ --mac-address
--name
+ --network
+ --no-hosts
--podidfile
--publish
-p