[libvirt] [PATCH] virsh: make domiftune interface help string consistent

Martin Kletzander mkletzan at redhat.com
Tue Jun 19 12:43:03 UTC 2012


Append '(MAC Address)' after the help string of domiftune virsh
command as it takes the same type of argument as domif-{get,set}link
which have it specified.
---
Pushed under 'trivial' rule.

 tools/virsh.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/virsh.c b/tools/virsh.c
index 1e1de39..fffa482 100644
--- a/tools/virsh.c
+++ b/tools/virsh.c
@@ -2019,7 +2019,7 @@ static const vshCmdInfo info_domiftune[] = {

 static const vshCmdOptDef opts_domiftune[] = {
     {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
-    {"interface", VSH_OT_DATA, VSH_OFLAG_REQ, N_("interface device")},
+    {"interface", VSH_OT_DATA, VSH_OFLAG_REQ, N_("interface device (MAC Address)")},
     {"inbound", VSH_OT_DATA, VSH_OFLAG_NONE, N_("control domain's incoming traffics")},
     {"outbound", VSH_OT_DATA, VSH_OFLAG_NONE, N_("control domain's outgoing traffics")},
     {"config", VSH_OT_BOOL, VSH_OFLAG_NONE, N_("affect next boot")},
--
1.7.8.6




More information about the libvir-list mailing list