Skip to contentSkip to conversation

xl: fix pci-detach usage

PATCH New Jeremy Fitzhardinge 1 participant 1 message May 27, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xl: fix pci-detach usage

"xl pci-detach -h" shows the usage for pci-attach

tools/libxl/xl_cmdimpl.c +1 -1
diff -r 8cfdda34f851 tools/libxl/xl_cmdimpl.c
@@ -1532,7 +1532,7 @@
     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");