1
0
mirror of https://github.com/projectatomic/atomic.git synced 2026-02-05 18:45:01 +01:00

status: support JSON output

Add support for 'rpm-ostree status --json'

Fixes #469

Signed-off-by: Micah Abbott <miabbott@redhat.com>

Closes: #473
Approved by: jlebon
This commit is contained in:
Micah Abbott
2016-07-13 13:51:48 -04:00
committed by Atomic Bot
parent 4029283969
commit ffbcbf4bae
3 changed files with 9 additions and 3 deletions

View File

@@ -560,7 +560,7 @@ _atomic_host_rollback() {
_atomic_host_status() {
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "-p --pretty -h --help" -- "$cur" ) )
COMPREPLY=( $( compgen -W "-j --json -p --pretty -h --help" -- "$cur" ) )
;;
*)
;;