aboutsummaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
authorTomas Tomecek <ttomecek@redhat.com>2018-11-23 22:25:45 +0100
committerTomas Tomecek <ttomecek@redhat.com>2018-11-25 12:42:05 +0100
commit43c20d02006fb83d05414a2f868b1c0a4dd4346b (patch)
tree9948a7c6019d8f1cd697609c986664606ce0b308 /completions
parent78604c3c397068f70ccb5e8b4be4b9229e2072fb (diff)
downloadpodman-43c20d02006fb83d05414a2f868b1c0a4dd4346b.tar.gz
podman-43c20d02006fb83d05414a2f868b1c0a4dd4346b.tar.bz2
podman-43c20d02006fb83d05414a2f868b1c0a4dd4346b.zip
implement --format for version command
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
Diffstat (limited to 'completions')
-rw-r--r--completions/bash/podman15
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() {