From 245a338f5a6519f5729749be646abbefd12701d8 Mon Sep 17 00:00:00 2001 From: baude Date: Mon, 8 Jan 2018 14:40:29 -0600 Subject: Add latest to wait It is desirable to have a --latest switch on the podman wait command so we can wait on the latest container created to end. Also, fixes a panic with latest where no containers are available. Signed-off-by: baude Closes: #201 Approved by: baude --- completions/bash/podman | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'completions') diff --git a/completions/bash/podman b/completions/bash/podman index a552f19d1..8447ab436 100644 --- a/completions/bash/podman +++ b/completions/bash/podman @@ -1469,7 +1469,11 @@ _podman_unpause() { _podman_wait() { local options_with_args="" - local boolean_options="--help -h" + local boolean_options=" + --help + -h + -l + --latest" _complete_ "$options_with_args" "$boolean_options" } -- cgit v1.2.3-54-g00ecf