]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hmp-commands.hx
Added parameter to take screenshot with screendump as PNG
[mirror_qemu.git] / hmp-commands.hx
index 8476277aa9c962ba0904d3149fc66ea57094e6cb..808020d0051b3a6779f61535561b6d9125b89598 100644 (file)
@@ -244,11 +244,12 @@ ERST
 
     {
         .name       = "screendump",
-        .args_type  = "filename:F,device:s?,head:i?",
-        .params     = "filename [device [head]]",
-        .help       = "save screen from head 'head' of display device 'device' "
-                      "into PPM image 'filename'",
-        .cmd        = hmp_screendump,
+        .args_type  = "filename:F,format:-fs,device:s?,head:i?",
+        .params     = "filename [-f format] [device [head]]",
+        .help       = "save screen from head 'head' of display device 'device'"
+                      "in specified format 'format' as image 'filename'."
+                      "Currently only 'png' and 'ppm' formats are supported.",
+         .cmd        = hmp_screendump,
         .coroutine  = true,
     },