From 43c20d02006fb83d05414a2f868b1c0a4dd4346b Mon Sep 17 00:00:00 2001 From: Tomas Tomecek Date: Fri, 23 Nov 2018 22:25:45 +0100 Subject: implement --format for version command Signed-off-by: Tomas Tomecek --- completions/bash/podman | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'completions') 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() { -- cgit v1.2.3-54-g00ecf