From 60f875ebfda5c5512fec0f324d6e0ddf540f53f1 Mon Sep 17 00:00:00 2001 Message-Id: <60f875ebfda5c5512fec0f324d6e0ddf540f53f1@dist-git> From: Martin Kletzander Date: Fri, 21 Nov 2014 12:58:09 +0100 Subject: [PATCH] virsh: sync domdisplay help and manual https://bugzilla.redhat.com/show_bug.cgi?id=997802 Signed-off-by: Martin Kletzander (cherry picked from commit 4c1b9e22b99cdc5e2ca38dd391a8e7142b31d51c) Signed-off-by: Martin Kletzander Signed-off-by: Jiri Denemark --- tools/virsh-domain.c | 2 +- tools/virsh.pod | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index f182dd0..68c28fa 100644 --- a/tools/virsh-domain.c +++ b/tools/virsh-domain.c @@ -9518,7 +9518,7 @@ static const vshCmdOptDef opts_domdisplay[] = { }, {.name = "type", .type = VSH_OT_DATA, - .help = N_("select particular graphics display " + .help = N_("select particular graphical display " "(e.g. \"vnc\", \"spice\", \"rdp\")") }, {.name = NULL} diff --git a/tools/virsh.pod b/tools/virsh.pod index 0c25d59..c88c417 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -1097,11 +1097,13 @@ I is a scaled integer (see B above) which defaults to KiB "B" to get bytes (note that for historical reasons, this differs from B which defaults to bytes without a suffix). -=item B I [I<--include-password>] +=item B I [I<--include-password>] [[I<--type>] B] Output a URI which can be used to connect to the graphical display of the -domain via VNC, SPICE or RDP. If I<--include-password> is specified, the -SPICE channel password will be included in the URI. +domain via VNC, SPICE or RDP. The particular graphical display type can +be selected using the B parameter (e.g. "vnc", "spice", "rdp"). If +I<--include-password> is specified, the SPICE channel password will be +included in the URI. =item B I [[I<--mountpoint>] B...] -- 2.1.3