From 8d6cdfed76f3328a434ac0e5076a673567888e05 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 4 Jun 2010 10:12:11 +0100 Subject: [PATCH] xl: correct help message of migrate and migrate-receive command Signed-off-by: Yang Hongyang --- tools/libxl/xl_cmdimpl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index b6725ef9f7..c734d5ee1c 100644 --- a/tools/libxl/xl_cmdimpl.c +++ b/tools/libxl/xl_cmdimpl.c @@ -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); } -- 2.30.2