add size to inspect

Signed-off-by: Zhang Kun <zkazure@gmail.com>
Upstream-commit: de3e44577a
Component: cli
This commit is contained in:
Zhang Kun
2017-06-02 00:07:12 +00:00
committed by Tibor Vass
parent 900900b4d7
commit 9a66bfc2e3
4 changed files with 19 additions and 0 deletions
@@ -18,6 +18,7 @@ parent = "smn_cli"
--help=false Print usage
--type=container|image Return JSON for specified type, permissible
values are "image" or "container"
-s, --size=false Display total file sizes if the type is container
By default, this will render all results in a JSON array. If a format is
specified, the given template will be executed for each result.