doc: rename output -> format
Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
This commit is contained in:
parent
08f8c13c5c
commit
ca7ea33765
1 changed files with 2 additions and 2 deletions
|
|
@ -40,10 +40,10 @@ $ image-builder list-images
|
||||||
|
|
||||||
### Format
|
### Format
|
||||||
|
|
||||||
The output format used by `list-images` can be swapped with the `--output` flag. Available types are `text` (for display in a terminal) and `json` which can be useful to consume programmatically:
|
The output format used by `list-images` can be swapped with the `--format` flag. Available types are `text` (for display in a terminal) and `json` which can be useful to consume programmatically:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ image-builder list-images --output=json | jq '.[0]'
|
$ image-builder list-images --format=json | jq '.[0]'
|
||||||
{
|
{
|
||||||
"distro": {
|
"distro": {
|
||||||
"name": "centos-9"
|
"name": "centos-9"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue