aboutsummaryrefslogtreecommitdiff
path: root/hmp-commands-info.hx
diff options
context:
space:
mode:
authorBALATON Zoltan <balaton@eik.bme.hu>2024-03-01 19:01:10 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-03-09 19:17:01 +0100
commit46e23b2e424f60e5efd404901b4bcd1410bb8091 (patch)
treea3cd2358b6e2538b4c9ba31839f09f644313a6f1 /hmp-commands-info.hx
parent965bc083103e1359679932feb6aadd35359c24ae (diff)
downloadqemu-46e23b2e424f60e5efd404901b4bcd1410bb8091.zip
qemu-46e23b2e424f60e5efd404901b4bcd1410bb8091.tar.gz
qemu-46e23b2e424f60e5efd404901b4bcd1410bb8091.tar.bz2
hmp: Add option to info qtree to omit details
The output of info qtree monitor command is very long. Add an option to print a brief overview omitting all the details. Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: Dr. David Alan Gilbert <dave@treblig.org> Message-ID: <20240307183812.0105D4E6004@zero.eik.bme.hu> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hmp-commands-info.hx')
-rw-r--r--hmp-commands-info.hx6
1 files changed, 3 insertions, 3 deletions
diff --git a/hmp-commands-info.hx b/hmp-commands-info.hx
index da120f8..ad1b130 100644
--- a/hmp-commands-info.hx
+++ b/hmp-commands-info.hx
@@ -540,9 +540,9 @@ ERST
{
.name = "qtree",
- .args_type = "",
- .params = "",
- .help = "show device tree",
+ .args_type = "brief:-b",
+ .params = "[-b]",
+ .help = "show device tree (-b: brief, omit properties)",
.cmd = hmp_info_qtree,
},