summary refs log tree commit diff stats
path: root/qemu-io-cmds.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2018-10-19 18:49:27 +0200
committerKevin Wolf <kwolf@redhat.com>2018-11-05 15:18:04 +0100
commit9c2762b406b088608561a72a85d52a036c7bf29a (patch)
tree19338331db4a3b3a7010820e7ae68902f485719f /qemu-io-cmds.c
parent8513ec28beda57a8e037b811a681a2b54d9be80f (diff)
downloadfocaccia-qemu-9c2762b406b088608561a72a85d52a036c7bf29a.tar.gz
focaccia-qemu-9c2762b406b088608561a72a85d52a036c7bf29a.zip
qdev-monitor: Make device options help nicer
Just like in qemu_opts_print_help(), print the device name as a caption
instead of on every single line, indent all options, add angle brackets
around types, and align the descriptions after 24 characters.  Also,
separate the descriptions with " - " instead of putting them in
parentheses, because that is what we do everywhere else.  This does look
a bit funny here because basically all bits have the description
"on/off", but funny does not mean it is less readable.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions