diff options
author | Qi Wang <qiwan@redhat.com> | 2019-02-21 13:58:31 -0500 |
---|---|---|
committer | Qi Wang <qiwan@redhat.com> | 2019-03-25 15:05:26 -0400 |
commit | 25e0f870694ff65ac4e2973072410dcfc45dd7db (patch) | |
tree | dcb6678a53f936914781e85f2fe8821caca80e53 /completions/bash | |
parent | eeda995e78d5ee96b2a65cc1fd8f04d1eb627a19 (diff) | |
download | podman-25e0f870694ff65ac4e2973072410dcfc45dd7db.tar.gz podman-25e0f870694ff65ac4e2973072410dcfc45dd7db.tar.bz2 podman-25e0f870694ff65ac4e2973072410dcfc45dd7db.zip |
system df to show podman disk usage
Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'completions/bash')
-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 " |