Fix system df issues with -f and -v

Fixed the issue of `--format` and `--verbose` flags being allowed in
combination with one another.

Implemented functionality for `--format json` or `--format '{{ json }}' `.

Implemented command-completion help for `--format`.

Fixes: #16204

Signed-off-by: Jake Correnti <jcorrenti13@gmail.com>
This commit is contained in:
Jake Correnti
2022-10-19 20:02:30 -04:00
parent a77ac5be83
commit e5032a8dea
3 changed files with 45 additions and 5 deletions

View File

@ -12,7 +12,7 @@ Show podman disk usage
## OPTIONS
#### **--format**=*format*
Pretty-print images using a Go template
Pretty-print images using a Go template or JSON. This flag is not allowed in combination with **--verbose**
#### **--verbose**, **-v**
Show detailed information on space usage