[libvirt] [PATCH] virsh: sync domdisplay help and manual

Martin Kletzander mkletzan at redhat.com
Fri Nov 21 10:10:27 UTC 2014


Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
---
 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 cf45a88..0572275 100644
--- a/tools/virsh-domain.c
+++ b/tools/virsh-domain.c
@@ -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}
diff --git a/tools/virsh.pod b/tools/virsh.pod
index d5608cc..5a577f6 100644
--- a/tools/virsh.pod
+++ b/tools/virsh.pod
@@ -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>...]

-- 
2.1.3




More information about the libvir-list mailing list