[libvirt] [PATCH 2/2] Indicate freecell --cellno is optional

Dave Allan dallan at redhat.com
Thu Mar 22 19:59:56 UTC 2012


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

diff --git a/tools/virsh.c b/tools/virsh.c
index 9e5c9b2..d9cff0c 100644
--- a/tools/virsh.c
+++ b/tools/virsh.c
@@ -4742,7 +4742,7 @@ static const vshCmdInfo info_freecell[] = {
 };

 static const vshCmdOptDef opts_freecell[] = {
-    {"cellno", VSH_OT_INT, 0, N_("NUMA cell number")},
+    {"cellno", VSH_OT_INT, VSH_OFLAG_REQ, N_("NUMA cell number")},
     {"all", VSH_OT_BOOL, 0, N_("show free memory for all NUMA cells")},
     {NULL, 0, 0, NULL}
 };
-- 
1.7.7.6




More information about the libvir-list mailing list