diff options
author | baude <bbaude@redhat.com> | 2018-10-29 12:06:48 -0500 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2018-11-01 13:14:12 -0500 |
commit | 2011782d9d52958546e481f84892d00a548b9e12 (patch) | |
tree | 208158661ad4089007f9124d0eeecefcba1b7d42 /completions/bash/podman | |
parent | 9c1985fc4ee0a30a5a852dfbeae742e64978ed25 (diff) | |
download | podman-2011782d9d52958546e481f84892d00a548b9e12.tar.gz podman-2011782d9d52958546e481f84892d00a548b9e12.tar.bz2 podman-2011782d9d52958546e481f84892d00a548b9e12.zip |
Make restart parallel and add --all
When attempting to restart many containers, we can benefit from making
the restarts parallel. For convenience, two new options are added:
--all attempts to restart all containers
--run-only when used with --all will attempt to restart only running containers
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'completions/bash/podman')
-rw-r--r-- | completions/bash/podman | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/completions/bash/podman b/completions/bash/podman index 5cfed348f..ed4e080c9 100644 --- a/completions/bash/podman +++ b/completions/bash/podman @@ -1770,8 +1770,13 @@ _podman_restart() { --timeout -t " local boolean_options=" + --all + -a --latest - -l" + -l + --running + --timeout + -t" case "$cur" in -*) COMPREPLY=($(compgen -W "$boolean_options $options_with_args" -- "$cur")) |