mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-10 12:09:31 +00:00
crosvm: fix layout of --gpu-display help message
The help message appears broken and needs fixing. TEST=crosvm run --help Change-Id: Ib8d52f45da8636380b781076393079fa03f40384 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3906750 Reviewed-by: Pujun Lun <lunpujun@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Auto-Submit: Alexandre Courbot <acourbot@chromium.org>
This commit is contained in:
parent
d9de9f6457
commit
a3e5494937
1 changed files with 14 additions and 8 deletions
|
@ -637,14 +637,20 @@ pub struct RunCommand {
|
|||
/// (EXPERIMENTAL) Comma separated key=value pairs for setting
|
||||
/// up a display on the virtio-gpu device
|
||||
/// Possible key values:
|
||||
/// mode=(borderless_full_screen|windowed) - Whether to show the window on the host in full
|
||||
/// screen or windowed mode. If not specified, windowed mode is used by default.
|
||||
/// width=INT - The width of the virtual display connected to the virtio-gpu. Can't be set
|
||||
/// with the borderless_full_screen display mode.
|
||||
/// height=INT - The height of the virtual display connected to the virtio-gpu. Can't be set
|
||||
/// with the borderless_full_screen display mode.
|
||||
/// hidden[=true|=false] - If the display window is initially hidden.
|
||||
/// refresh_rate=INT - Force a specific vsync generation rate in hertz on the guest.
|
||||
/// mode=(borderless_full_screen|windowed) - Whether to show
|
||||
/// the window on the host in full screen or windowed
|
||||
/// mode. If not specified, windowed mode is used by
|
||||
/// default.
|
||||
/// width=INT - The width of the virtual display connected
|
||||
/// to the virtio-gpu. Can't be set with the
|
||||
/// borderless_full_screen display mode.
|
||||
/// height=INT - The height of the virtual display connected
|
||||
/// to the virtio-gpu. Can't be set with the
|
||||
/// borderless_full_screen display mode.
|
||||
/// hidden[=true|=false] - If the display window is
|
||||
/// initially hidden (default: false).
|
||||
/// refresh-rate=INT - Force a specific vsync generation
|
||||
/// rate in hertz on the guest (default: 60)
|
||||
#[cfg(unix)]
|
||||
pub gpu_display: Vec<GpuDisplayParameters>,
|
||||
#[cfg(feature = "gpu")]
|
||||
|
|
Loading…
Reference in a new issue