cmdline: fix --gpu max-num-displays help

The option is named with hyphens, not underscores, since it is part of a
struct with `#[serde(rename_all = "kebab-case")]`.

The tests already match this form as well, so it is just a typo in the
help string; no functional change.

Change-Id: I5a978fd80ad71152e29f916b3f1d94faad7fe344
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/6040211
Reviewed-by: Noah Gold <nkgold@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Pujun Lun <lunpujun@google.com>
This commit is contained in:
Daniel Verkamp 2024-11-22 12:19:35 -08:00 committed by crosvm LUCI
parent 13b958b967
commit 3cf3d942f4

View file

@ -1387,7 +1387,7 @@ pub struct RunCommand {
/// Possible key values:
/// backend=(2d|virglrenderer|gfxstream) - Which backend to
/// use for virtio-gpu (determining rendering protocol)
/// max_num_displays=INT - The maximum number of concurrent
/// max-num-displays=INT - The maximum number of concurrent
/// virtual displays in this VM. This must not exceed
/// VIRTIO_GPU_MAX_SCANOUTS (i.e. 16).
/// displays=[[GpuDisplayParameters]] - The list of virtual