summaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-11-29 15:05:03 +0100
committerGitHub <noreply@github.com>2019-11-29 15:05:03 +0100
commit39c705e9405faa4d02b71165d05eec1e7bb44d93 (patch)
treef2b2ec4d93638ac661ab8f0c8c6aa38f234e8552 /completions
parent7b99ef0b84c7b5e758544d0a25956674e7ea7db1 (diff)
parent79bf5010eda37c07f577414ae71ecb8f8c8714a2 (diff)
downloadpodman-39c705e9405faa4d02b71165d05eec1e7bb44d93.tar.gz
podman-39c705e9405faa4d02b71165d05eec1e7bb44d93.tar.bz2
podman-39c705e9405faa4d02b71165d05eec1e7bb44d93.zip
Merge pull request #4558 from rhatdan/reset
Add podman system reset command
Diffstat (limited to 'completions')
-rw-r--r--completions/bash/podman16
1 files changed, 16 insertions, 0 deletions
diff --git a/completions/bash/podman b/completions/bash/podman
index 6d145030f..5634a5d8c 100644
--- a/completions/bash/podman
+++ b/completions/bash/podman
@@ -1142,6 +1142,21 @@ _podman_container() {
esac
}
+_podman_system_reset() {
+ local options_with_args="
+ "
+ local boolean_options="
+ -h
+ --help
+ --force
+ "
+ case "$cur" in
+ -*)
+ COMPREPLY=($(compgen -W "$boolean_options $options_with_args" -- "$cur"))
+ ;;
+ esac
+}
+
_podman_system_df() {
local options_with_args="
--format
@@ -1193,6 +1208,7 @@ _podman_system() {
df
info
prune
+ reset
"
__podman_subcommands "$subcommands" && return