From: Keir Fraser Date: Fri, 4 Jun 2010 09:12:11 +0000 (+0100) Subject: xl: correct help message of migrate and migrate-receive command X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~12021 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8d6cdfed76f3328a434ac0e5076a673567888e05;p=xen.git xl: correct help message of migrate and migrate-receive command Signed-off-by: Yang Hongyang --- 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); }