Skip to contentSkip to conversation

xl: correct help message of migrate and migrate-receive command

PATCH New Yang Hongyang 1 participant 1 message Jun 3, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xl: correct help message of migrate and migrate-receive command

Correct help message of migrate and migrate-receive commands

tools/libxl/xl_cmdimpl.c +3 -3
diff -r 5aabc6f94df5 tools/libxl/xl_cmdimpl.c
@@ -2206,7 +2206,7 @@
     while ((opt = getopt(argc, argv, "hed")) != -1) {
         switch (opt) {
         case 'h':
-            help("restore");
+            help("migrate-receive");
             exit(2);
             break;
         case 'e':
@@ -2222,7 +2222,7 @@
     }
 
     if (argc-optind != 0) {
-        help("restore");
+        help("migrate-receive");
         exit(2);
     }
     migrate_receive(debug, daemonize);
@@ -2295,7 +2295,7 @@
     }
 
     if (argc-optind < 2 || argc-optind > 2) {
-        help("save");
+        help("migrate");
         exit(2);
     }
 
Signature · 2 lines
Regards
Yang Hongyang