summaryrefslogtreecommitdiff
path: root/completions/bash
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2019-11-15 14:05:46 -0500
committerValentin Rothberg <rothberg@redhat.com>2019-11-18 14:44:08 +0100
commit061bf77588c573668646fb07ded748c9bf375130 (patch)
treeab5a0374830213f887ce5aae4816d7bca567d2d9 /completions/bash
parentd7ed9fa188b502e155ddbf6b626cf8fbfc92bbb8 (diff)
downloadpodman-061bf77588c573668646fb07ded748c9bf375130.tar.gz
podman-061bf77588c573668646fb07ded748c9bf375130.tar.bz2
podman-061bf77588c573668646fb07ded748c9bf375130.zip
podman rm/stop --cidfile
Add a --cidfile flag to podman rm/stop to pass a container ID via a file. Podman run already provides the functionaly to store the ID in a specified file which we now complete with rm/stop. This allows for a better life-cycle management in systemd services. Note that --cdifile can be specified multiple times to rm/stop. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'completions/bash')
-rw-r--r--completions/bash/podman2
1 files changed, 2 insertions, 0 deletions
diff --git a/completions/bash/podman b/completions/bash/podman
index d8034ad11..98950799e 100644
--- a/completions/bash/podman
+++ b/completions/bash/podman
@@ -2150,6 +2150,7 @@ _podman_rm() {
local boolean_options="
--all
-a
+ --cidfile
--force
-f
--help
@@ -2426,6 +2427,7 @@ _podman_stop() {
local boolean_options="
--all
-a
+ --cidfile
-h
--help
--latest