diff options
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r-- | hmp-commands.hx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx index 34947d6d20..03e6a73d1f 100644 --- a/hmp-commands.hx +++ b/hmp-commands.hx @@ -247,11 +247,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, }, |