]> xenbits.xensource.com Git - libvirt.git/commitdiff
virsh: sync domdisplay help and manual
authorMartin Kletzander <mkletzan@redhat.com>
Fri, 21 Nov 2014 10:10:21 +0000 (11:10 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Fri, 21 Nov 2014 11:56:44 +0000 (12:56 +0100)
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
tools/virsh-domain.c
tools/virsh.pod

index cf45a885180ac9723d3a2b141f248b58a81f6b42..0572275ffc39667463bbabb18ac05a3485a7ec5e 100644 (file)
@@ -9915,7 +9915,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}
index d5608cca3bbbd537c63c4bf9107431b5af188409..5a577f631eefc777e7f405f406e066657b983a9d 100644 (file)
@@ -1138,11 +1138,13 @@ I<size> is a scaled integer (see B<NOTES> above) which defaults to KiB
 "B" to get bytes (note that for historical reasons, this differs from
 B<vol-resize> which defaults to bytes without a suffix).
 
-=item B<domdisplay> I<domain> [I<--include-password>]
+=item B<domdisplay> I<domain> [I<--include-password>] [[I<--type>] B<type>]
 
 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<type> parameter (e.g. "vnc", "spice", "rdp").  If
+I<--include-password> is specified, the SPICE channel password will be
+included in the URI.
 
 =item B<domfsfreeze> I<domain> [[I<--mountpoint>] B<mountpoint>...]