[libvirt] [PATCH] doc: Correct docs for iface commands

Osier Yang jyang at redhat.com
Mon Jul 18 11:45:35 UTC 2011

duplicate documents for "iface-name", lacks of document for
"iface-mac", inconsistent option names with virsh help strings.
 tools/virsh.pod |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/tools/virsh.pod b/tools/virsh.pod
index 377fac0..4f218d3 100644
--- a/tools/virsh.pod
+++ b/tools/virsh.pod
@@ -1081,20 +1081,24 @@ Returns the list of active host interfaces.  If I<--all> is specified
 this will also include defined but inactive interfaces.  If
 I<--inactive> is specified only the inactive ones will be listed.
-=item B<iface-name> I<iface-MAC>
+=item B<iface-name> I<interface>
-Convert a host interface MAC to interface name, if the I<iface-MAC> is
-unique among the host's interfaces.
+Convert a host interface MAC to interface name, if the MAC address is unique
+among the host's interfaces.
-=item B<iface-name> I<iface-MAC>
+I<interface> specifies the interface MAC address.
+=item B<iface-mac> I<interface>
 Convert a host interface name to MAC address.
-=item B<iface-start> I<iface>
+I<interface> specifies the interface name.
+=item B<iface-start> I<interface>
 Start a (previously defined) host interface, such as by running "if-up".
-=item B<iface-undefine> I<iface>
+=item B<iface-undefine> I<interface>
 Undefine the configuration for an inactive host interface.

More information about the libvir-list mailing list