From 2011782d9d52958546e481f84892d00a548b9e12 Mon Sep 17 00:00:00 2001 From: baude Date: Mon, 29 Oct 2018 12:06:48 -0500 Subject: 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 --- completions/bash/podman | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'completions') 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")) -- cgit v1.2.3-54-g00ecf