From 25e0f870694ff65ac4e2973072410dcfc45dd7db Mon Sep 17 00:00:00 2001 From: Qi Wang Date: Thu, 21 Feb 2019 13:58:31 -0500 Subject: system df to show podman disk usage Signed-off-by: Qi Wang --- completions/bash/podman | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'completions') 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 " -- cgit v1.2.3-54-g00ecf