[libvirt] [PATCH] virsh: Fix help message of allocpages

Tomoki Sekiyama tomoki.sekiyama at hds.com
Fri Sep 26 22:57:22 UTC 2014


Fix info in the command definition of allocpages, which is currently
pointing info for 'capabilities'.

Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama at hds.com>
---
 tools/virsh-host.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/virsh-host.c b/tools/virsh-host.c
index a857a3b..4a3ff28 100644
--- a/tools/virsh-host.c
+++ b/tools/virsh-host.c
@@ -1326,7 +1326,7 @@ const vshCmdDef hostAndHypervisorCmds[] = {
     {.name = "allocpages",
      .handler = cmdAllocpages,
      .opts = opts_allocpages,
-     .info = info_capabilities,
+     .info = info_allocpages,
      .flags = 0
     },
     {.name = "capabilities",




More information about the libvir-list mailing list