diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-03-26 04:51:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-26 04:51:06 -0700 |
commit | 9e556530d24a51c7d19679a2f658a367686d9874 (patch) | |
tree | 7f5881c70c53aa47685d2a663f75ed9b430a72e3 /completions/bash/podman | |
parent | d0c6a35c05a72e4b156819406b83aa9f34f840e0 (diff) | |
parent | 25e0f870694ff65ac4e2973072410dcfc45dd7db (diff) | |
download | podman-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/podman | 19 |
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 " |