mirror of https://github.com/containers/podman.git
Add support for short option -s in podman inspect
docker inspect supports a short -s option for --size. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
b71088a01e
commit
a05f3a49fd
|
@ -32,7 +32,7 @@ var (
|
||||||
Usage: "Change the output format to a Go template",
|
Usage: "Change the output format to a Go template",
|
||||||
},
|
},
|
||||||
cli.BoolFlag{
|
cli.BoolFlag{
|
||||||
Name: "size",
|
Name: "size, s",
|
||||||
Usage: "Display total file size if the type is container",
|
Usage: "Display total file size if the type is container",
|
||||||
},
|
},
|
||||||
LatestFlag,
|
LatestFlag,
|
||||||
|
|
|
@ -1366,6 +1366,7 @@ _podman_inspect() {
|
||||||
--type
|
--type
|
||||||
-t
|
-t
|
||||||
--size
|
--size
|
||||||
|
-s
|
||||||
"
|
"
|
||||||
|
|
||||||
local all_options="$options_with_args $boolean_options"
|
local all_options="$options_with_args $boolean_options"
|
||||||
|
|
|
@ -27,7 +27,7 @@ The keys of the returned JSON can be used as the values for the --format flag (s
|
||||||
Instead of providing the container name or ID, use the last created container. If you use methods other than Podman
|
Instead of providing the container name or ID, use the last created container. If you use methods other than Podman
|
||||||
to run containers such as CRI-O, the last started container could be from either of those methods.
|
to run containers such as CRI-O, the last started container could be from either of those methods.
|
||||||
|
|
||||||
**--size**
|
**--size, -s**
|
||||||
|
|
||||||
Display the total file size if the type is a container
|
Display the total file size if the type is a container
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue