From 5d55cc5dbeeef96e7fc633843e1f86d1efee22e7 Mon Sep 17 00:00:00 2001 From: litingt Date: Wed, 19 Nov 2014 20:28:18 -0800 Subject: [PATCH] add help option --- xCAT-server/share/xcat/tools/xCATreg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/share/xcat/tools/xCATreg b/xCAT-server/share/xcat/tools/xCATreg index 507e5e38b..7c4438184 100755 --- a/xCAT-server/share/xcat/tools/xCATreg +++ b/xCAT-server/share/xcat/tools/xCATreg @@ -86,7 +86,7 @@ sub usage -U: when -U is specified, only code updates can trigger the regression.\n -V: log and message in verbose mode.\n -e: send the test result to email_addr\n"; - print " xCATreg [-?|-h]\n"; + print " xCATreg [--help|-h]\n"; print " xCATreg [-f configure file] [-b branch] [-m mangement node][-V][-e] install mn \n"; print " xCATreg [-f configure file] [-b branch] [-m mangement node ] [-U][-V][-e] if code updates there will be regression.\n"; print "\n"; @@ -1530,7 +1530,7 @@ send_msg(2,"........................"); ####################################### send_msg(2, "step 0, initializing..............."); if ( - !GetOptions("h|?" => \$needhelp, + !GetOptions("h|help" => \$needhelp, "f=s" => \$configfile, "b=s" => \$branch, "m=s" => \$management_node,