mirror of https://github.com/containers/podman.git
Add support for short option -f in podman version
docker version supports a short options -f for --format Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
b71088a01e
commit
2ed52c299f
|
@ -57,7 +57,7 @@ var (
|
|||
}
|
||||
versionFlags = []cli.Flag{
|
||||
cli.StringFlag{
|
||||
Name: "format",
|
||||
Name: "format, f",
|
||||
Usage: "Change the output format to JSON or a Go template",
|
||||
},
|
||||
}
|
||||
|
|
|
@ -2036,6 +2036,7 @@ _podman_version() {
|
|||
"
|
||||
local options_with_args="
|
||||
--format
|
||||
-f
|
||||
"
|
||||
local all_options="$options_with_args $boolean_options"
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ OS, and Architecture.
|
|||
|
||||
Print usage statement
|
||||
|
||||
**--format**
|
||||
**--format**, **-f**
|
||||
|
||||
Change output format to "json" or a Go template.
|
||||
|
||||
|
|
Loading…
Reference in New Issue