Add --interval flag to podman wait

Waiting uses a lot of CPU, so drop back to checking once/second
and allow user to pass in the interval.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
Daniel J Walsh
2018-09-10 16:03:52 -04:00
parent 61eda671ec
commit 9ec82caa31
9 changed files with 28 additions and 10 deletions

View File

@ -2012,7 +2012,9 @@ _podman_wait() {
local boolean_options="
--help
-h
-l
-i
-l
--interval
--latest"
case "$cur" in
-*)