summaryrefslogtreecommitdiff
path: root/completions/bash/podman
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-03-26 04:51:06 -0700
committerGitHub <noreply@github.com>2019-03-26 04:51:06 -0700
commit9e556530d24a51c7d19679a2f658a367686d9874 (patch)
tree7f5881c70c53aa47685d2a663f75ed9b430a72e3 /completions/bash/podman
parentd0c6a35c05a72e4b156819406b83aa9f34f840e0 (diff)
parent25e0f870694ff65ac4e2973072410dcfc45dd7db (diff)
downloadpodman-9e556530d24a51c7d19679a2f658a367686d9874.tar.gz
podman-9e556530d24a51c7d19679a2f658a367686d9874.tar.bz2
podman-9e556530d24a51c7d19679a2f658a367686d9874.zip
Merge pull request #2498 from QiWang19/sysdf
podman system df- show podman disk usage
Diffstat (limited to 'completions/bash/podman')
-rw-r--r--completions/bash/podman19
1 files changed, 19 insertions, 0 deletions
diff --git a/completions/bash/podman b/completions/bash/podman
index 1976bff44..dfa673481 100644
--- a/completions/bash/podman
+++ b/completions/bash/podman
@@ -999,6 +999,24 @@ _podman_container() {
esac
}
+_podman_system_df() {
+ local options_with_args="
+ --format
+ --verbose
+ "
+ local boolean_options="
+ -h
+ --help
+ --verbose
+ -v
+ "
+ case "$cur" in
+ -*)
+ COMPREPLY=($(compgen -W "$boolean_options $options_with_args" -- "$cur"))
+ ;;
+ esac
+}
+
_podman_system_info() {
_podman_info
}
@@ -1029,6 +1047,7 @@ _podman_system() {
-h
"
subcommands="
+ df
info
prune
"