]> xenbits.xensource.com Git - libvirt.git/commitdiff
Trivial virsh.pod additions --all for "list" command and similar
authorJustin Clift <justin@salasaga.org>
Sun, 30 May 2010 03:28:42 +0000 (13:28 +1000)
committerEric Blake <eblake@redhat.com>
Tue, 1 Jun 2010 22:46:51 +0000 (16:46 -0600)
This is just a trivial patch to virsh.pod (from git master). It adds the
following pieces to the virsh man page:

  + Shows the --inactive and --all optional parameters for the list
    command.

    Closes Bugzilla #575512, reported by Renich Bon Ciric
    https://bugzilla.redhat.com/show_bug.cgi?id=575512

  + Corrects the existing description of the list command, to now say
    that only running domains are listed if no domains are specified.

    The man page up until this point has said all domains are listed if
    no domains are specified, which is incorrect.

  + Adds the "shut off" state to the list of states for the list
    command.

  + Adds a missing =back around line 755, that pod2man was complaining
    was missing.

AUTHORS
tools/virsh.pod

diff --git a/AUTHORS b/AUTHORS
index 2e58a58473ef4d48988aeec8cdff53b65764e308..c9a194a502c94848fc7acdc278b7d699ca2ffe9c 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -124,6 +124,7 @@ Patches have also been contributed by:
   Thomas Treutner      <thomas@scripty.at>
   Jean-Baptiste Rouault <jean-baptiste.rouault@diateam.net>
   Марк Коренберг       <socketpair@gmail.com>
+  Justin Clift         <justin@salasaga.org>
 
   [....send patches to get your name here....]
 
index cf7585dd22fe85867bcd9369b7724b10093e648e..495bb46791492e209895fca68fe713b2d12c84fb 100644 (file)
@@ -156,10 +156,10 @@ description see:
   L<http://libvirt.org/formatcaps.html>
 The XML also show the NUMA topology information if available.
 
-=item B<list>
+=item B<list> optional I<--inactive> I<--all>
 
 Prints information about one or more domains.  If no domains are
-specified it prints out information about all domains.
+specified it prints out information about running domains.
 
 An example format for the list is as follows:
 
@@ -177,7 +177,7 @@ State is the run state (see below).
 
 B<STATES>
 
-The State field lists 6 states for a domain, and which ones the
+The State field lists 7 states for a domain, and which ones the
 current domain is in.
 
 =over 4
@@ -205,6 +205,11 @@ The domain is in the process of shutting down, i.e. the guest operating system
 has been notified and should be in the process of stopping its operations
 gracefully.
 
+=item B<shut off>
+
+The domain is not running.  Usually this indicates the domain has been
+shut down completely, or has not been started.
+
 =item B<crashed>
 
 The domain has crashed, which is always a violent ending.  Usually
@@ -748,6 +753,8 @@ Undefine the configuration for an inactive I<pool>.
 
 Returns the UUID of the named I<pool>.
 
+=back
+
 =head1 SECRET COMMMANDS
 
 The following commands manipulate "secrets" (e.g. passwords, passphrases and