mirror of https://github.com/containers/podman.git
Add support for short option -f
docker info supports a short -f option for --format. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
b71088a01e
commit
9e340da255
|
@ -29,7 +29,7 @@ var (
|
||||||
Usage: "display additional debug information",
|
Usage: "display additional debug information",
|
||||||
},
|
},
|
||||||
cli.StringFlag{
|
cli.StringFlag{
|
||||||
Name: "format",
|
Name: "format, f",
|
||||||
Usage: "Change the output format to JSON or a Go template",
|
Usage: "Change the output format to JSON or a Go template",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -1219,6 +1219,7 @@ _podman_info() {
|
||||||
--debug
|
--debug
|
||||||
"
|
"
|
||||||
local options_with_args="
|
local options_with_args="
|
||||||
|
-f
|
||||||
--format
|
--format
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ Displays information pertinent to the host, current storage stats, configured co
|
||||||
|
|
||||||
Show additional information
|
Show additional information
|
||||||
|
|
||||||
**--format**
|
**--format, -f**
|
||||||
|
|
||||||
Change output format to "json" or a Go template.
|
Change output format to "json" or a Go template.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue