]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qemu-img.texi
qemu-img: add json output option to the check command
[mirror_qemu.git] / qemu-img.texi
index 00fca8da865d6adb701fecc4d52831aca0385620..1a6c9e36f188be63f927f730a8fc71a069691bbd 100644 (file)
@@ -84,9 +84,10 @@ lists all snapshots in the given image
 Command description:
 
 @table @option
-@item check [-f @var{fmt}] [-r [leaks | all]] @var{filename}
+@item check [-f @var{fmt}] [--output=@var{ofmt}] [-r [leaks | all]] @var{filename}
 
-Perform a consistency check on the disk image @var{filename}.
+Perform a consistency check on the disk image @var{filename}. The command can
+output in the format @var{ofmt} which is either @code{human} or @code{json}.
 
 If @code{-r} is specified, qemu-img tries to repair any inconsistencies found
 during the check. @code{-r leaks} repairs only cluster leaks, whereas