summaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-01-08 14:40:29 -0600
committerAtomic Bot <atomic-devel@projectatomic.io>2018-01-08 22:44:38 +0000
commit245a338f5a6519f5729749be646abbefd12701d8 (patch)
treef40a53649ffd2e67beae4036c029a46b0f1d5c66 /completions
parentda7556de4ad1d89bd97e1f6c5a146eee00e8c040 (diff)
downloadpodman-245a338f5a6519f5729749be646abbefd12701d8.tar.gz
podman-245a338f5a6519f5729749be646abbefd12701d8.tar.bz2
podman-245a338f5a6519f5729749be646abbefd12701d8.zip
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 <bbaude@redhat.com> Closes: #201 Approved by: baude
Diffstat (limited to 'completions')
-rw-r--r--completions/bash/podman6
1 files changed, 5 insertions, 1 deletions
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"
}