mirror of
https://github.com/containers/podman.git
synced 2025-06-26 04:46:57 +08:00
implement --format for version command
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user