diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-11-25 04:52:38 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-25 04:52:38 -0800 |
commit | e3ece3bb907145110408c54f70b839777b09da44 (patch) | |
tree | 3ebe3e39309aaf40245945e8eb99d46cd8f666ca /completions/bash/podman | |
parent | 5f8f15c797c07a53f12dda5499d0363ee74e5d1c (diff) | |
parent | 43c20d02006fb83d05414a2f868b1c0a4dd4346b (diff) | |
download | podman-e3ece3bb907145110408c54f70b839777b09da44.tar.gz podman-e3ece3bb907145110408c54f70b839777b09da44.tar.bz2 podman-e3ece3bb907145110408c54f70b839777b09da44.zip |
Merge pull request #1860 from TomasTomecek/version-add-format
implement --format for version command
Diffstat (limited to 'completions/bash/podman')
-rw-r--r-- | completions/bash/podman | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/completions/bash/podman b/completions/bash/podman index 222511a3c..8eaa1e6a9 100644 --- a/completions/bash/podman +++ b/completions/bash/podman @@ -1906,11 +1906,16 @@ _podman_top() { } _podman_version() { - local options_with_args=" - " - local boolean_options=" - " - _complete_ "$options_with_args" "$boolean_options" + local boolean_options=" + --help + -h + " + local options_with_args=" + --format + " + local all_options="$options_with_args $boolean_options" + + _complete_ "$options_with_args" "$boolean_options" } _podman_save() { |