From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yang Hongyang Subject: [PATCH]xl: correct help message of migrate and migrate-receive command Date: Thu, 03 Jun 2010 16:46:10 +0800 Message-ID: <4C076BD2.7080603@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Correct help message of migrate and migrate-receive commands Signed-off-by: Yang Hongyang diff -r 5aabc6f94df5 tools/libxl/xl_cmdimpl.c --- a/tools/libxl/xl_cmdimpl.c Wed Jun 02 13:13:11 2010 +0100 +++ b/tools/libxl/xl_cmdimpl.c Fri Jun 04 00:48:18 2010 +0800 @@ -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); } -- Regards Yang Hongyang