diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-12-06 08:31:20 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-06 08:31:20 -0800 |
commit | 3e60de629d5feaff1ac15173b4ff1e5325dfa5dc (patch) | |
tree | 06f3cee26ea99d6027130b6a908b8734c8f68afe /completions/bash | |
parent | 99bbbeb746820716610317fedd8d3918951a9d7d (diff) | |
parent | e037427035dc57e536478362fc19e30a400bc327 (diff) | |
download | podman-3e60de629d5feaff1ac15173b4ff1e5325dfa5dc.tar.gz podman-3e60de629d5feaff1ac15173b4ff1e5325dfa5dc.tar.bz2 podman-3e60de629d5feaff1ac15173b4ff1e5325dfa5dc.zip |
Merge pull request #1912 from baude/prune
Add ability to prune containers and images
Diffstat (limited to 'completions/bash')
-rw-r--r-- | completions/bash/podman | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/completions/bash/podman b/completions/bash/podman index 80ea53a74..b8b6b353e 100644 --- a/completions/bash/podman +++ b/completions/bash/podman @@ -871,6 +871,7 @@ _podman_container() { create diff exec + exists export inspect kill @@ -879,6 +880,7 @@ _podman_container() { mount pause port + prune refresh restart restore @@ -1210,11 +1212,13 @@ _podman_image() { " subcommands=" build + exists history import inspect load ls + prune pull push rm @@ -2228,6 +2232,26 @@ _podman_container_runlabel() { esac } +_podman_images_prune() { + local options_with_args=" + " + + local boolean_options=" + -h + --help + " +} + +_podman_container_prune() { + local options_with_args=" + " + + local boolean_options=" + -h + --help + " +} + _podman_container_exists() { local options_with_args=" " |