]> xenbits.xensource.com Git - xen.git/commitdiff
xl: fix pci-detach usage message
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 28 May 2010 07:11:47 +0000 (08:11 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 28 May 2010 07:11:47 +0000 (08:11 +0100)
"xl pci-detach -h" shows the usage for pci-attach

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
tools/libxl/xl_cmdimpl.c

index 85c6e1b1297d8e09ead926f44a5f3bf6e456e713..4e547c773074bfb7b0ddef2448937550fa9dd0f1 100644 (file)
@@ -1532,7 +1532,7 @@ int main_pcidetach(int argc, char **argv)
     while ((opt = getopt(argc, argv, "h")) != -1) {
         switch (opt) {
         case 'h':
-            help("pci-attach");
+            help("pci-detach");
             exit(0);
         default:
             fprintf(stderr, "option not supported\n");