]> git.ipfire.org Git - thirdparty/qemu.git/commit
ui/console: Note in '-display help' that some backends support suboptions
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 31 Jul 2024 15:41:36 +0000 (16:41 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 6 Aug 2024 14:24:14 +0000 (16:24 +0200)
commitef0a1212c9c9c4b50fb6f7d83fbb6cbb3c8e5355
tree095fb51d410f069d4f1ca9fe06d9d6dc6cf86756
parent7aea035a60eec599c487d71659fdb5102b69cfb9
ui/console: Note in '-display help' that some backends support suboptions

Currently '-display help' only prints the available backends. Some
of those backends support suboptions (e.g. '-display gtk,gl=on').
Mention that in the help output, and point the user to where they
might be able to find more information about the suboptions.
The new output looks like this:

  $ qemu-system-aarch64 -display help
  Available display backend types:
  none
  gtk
  sdl
  egl-headless
  curses
  spice-app
  dbus

  Some display backends support suboptions, which can be set with
     -display backend,option=value,option=value...
  For a short list of the suboptions for each display, see the top-level -help output; more detail is in the documentation.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-ID: <20240731154136.3494621-4-peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
ui/console.c