]> xenbits.xensource.com Git - xen.git/commitdiff
xl: correct help message of migrate and migrate-receive command
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 4 Jun 2010 09:12:11 +0000 (10:12 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 4 Jun 2010 09:12:11 +0000 (10:12 +0100)
Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com>
tools/libxl/xl_cmdimpl.c

index b6725ef9f74913928cf41d5895a703a5b3623ea8..c734d5ee1cd6aa722377ccd2b3c7729e853e0cb5 100644 (file)
@@ -2206,7 +2206,7 @@ int main_migrate_receive(int argc, char **argv)
     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 @@ int main_migrate_receive(int argc, char **argv)
     }
 
     if (argc-optind != 0) {
-        help("restore");
+        help("migrate-receive");
         exit(2);
     }
     migrate_receive(debug, daemonize);
@@ -2295,7 +2295,7 @@ int main_migrate(int argc, char **argv)
     }
 
     if (argc-optind < 2 || argc-optind > 2) {
-        help("save");
+        help("migrate");
         exit(2);
     }