diff options
Diffstat (limited to 'completions/bash/podman')
-rw-r--r-- | completions/bash/podman | 35 |
1 files changed, 34 insertions, 1 deletions
diff --git a/completions/bash/podman b/completions/bash/podman index 4d552b0a7..40be0018b 100644 --- a/completions/bash/podman +++ b/completions/bash/podman @@ -980,6 +980,7 @@ _podman_network_create() { --driver --gateway --ip-range + --macvlan --subnet " local boolean_options=" @@ -1142,6 +1143,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 +1209,7 @@ _podman_system() { df info prune + reset " __podman_subcommands "$subcommands" && return @@ -1244,6 +1261,7 @@ _podman_build() { --no-cache --pull --pull-always + --pull-never --quiet -q --rm @@ -1341,6 +1359,7 @@ _podman_exec() { --detach-keys -e --env + --env-file --user -u --workdir @@ -1562,6 +1581,7 @@ _podman_images() { --filter -h --help + --history --no-trunc --notruncate -n @@ -2004,7 +2024,7 @@ _podman_container_run() { return ;; --env|-e) - # we do not append a "=" here because "-e VARNAME" is legal systax, too + # we do not append a "=" here because "-e VARNAME" is legal syntax, too COMPREPLY=( $( compgen -e -- "$cur" ) ) __podman_nospace return @@ -2149,10 +2169,13 @@ _podman_rm() { local boolean_options=" --all -a + --cidfile --force -f --help -h + --ignore + -i --latest -l --storage @@ -2425,8 +2448,11 @@ _podman_stop() { local boolean_options=" --all -a + --cidfile -h --help + --ignore + -i --latest -l " @@ -2808,9 +2834,12 @@ _podman_images_prune() { _podman_container_prune() { local options_with_args=" + --filter " local boolean_options=" + -f + --force -h --help " @@ -2987,6 +3016,8 @@ _podman_pod_rm() { --all --help -h + --ignore + -i -f --force --latest @@ -3037,6 +3068,8 @@ _podman_pod_stop() { -a --cleanup --help + --ignore + -i -h --latest -l |