Modify kpod diff --json to --format json

We want all kpod subcommands to use the formats code to output
formats like json.  Altering kpod diff --json to kpod diff --format json
like the kpod images command.

Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
baude 2017-08-14 14:32:00 -05:00
parent f82fe5691a
commit 78c6151519
13 changed files with 267 additions and 237 deletions

View file

@ -21,16 +21,16 @@ Information display here pertain to the host, current storage stats, and build o
Show additional information
**--json**
**--format**
Output as JSON instead of the default YAML",
Change output format to "json" or a Go template.
## EXAMPLE
`kpod info`
`kpod info --debug --json | jq .host.kernel`
`kpod info --debug --format json| jq .host.kernel`
## SEE ALSO
crio(8), crio.conf(5)