[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] fix xm block-attach help

# HG changeset patch
# User john.levon@xxxxxxx
# Date 1165591341 28800
# Node ID a8297a1925f31351199563c34f3134a559dd702c
# Parent  a32d6e0996bad6c3086f09884587f32e7a3ab50a
xm block-attach can take an optional 5th argument, show it in the help.

Signed-off-by: John Levon <john.levon@xxxxxxx>

diff --git a/tools/python/xen/xm/main.py b/tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py
+++ b/tools/python/xen/xm/main.py
@@ -138,9 +138,9 @@ SUBCOMMAND_HELP = {
     # device commands
-    'block-attach'  :  ('<Domain> <BackDev> <FrontDev> <Mode>',
+    'block-attach'  :  ('<Domain> <BackDev> <FrontDev> <Mode> [BackDomain]',
                         'Create a new virtual block device.'),
-    'block-configure': ('<Domain> <BackDev> <FrontDev> <Mode> [BackDomId]',
+    'block-configure': ('<Domain> <BackDev> <FrontDev> <Mode> [BackDomain]',
                         'Change block device configuration'),
     'block-detach'  :  ('<Domain> <DevId>',
                         'Destroy a domain\'s virtual block device.'),

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.