use 'verbose' instead of 'Verbose' option to match the command usage in Usage.pm.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13206 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -47,7 +47,7 @@ sub parse_args { | ||||
|     $Getopt::Long::ignorecase = 0; | ||||
|     Getopt::Long::Configure( "bundling" ); | ||||
|  | ||||
|     if ( !GetOptions( \%opt,qw(h|help V|Verbose v|version ))) {  | ||||
|     if ( !GetOptions( \%opt,qw(h|help V|verbose v|version ))) {  | ||||
|         return( usage() ); | ||||
|     } | ||||
|     #################################### | ||||
|   | ||||
| @@ -173,7 +173,7 @@ sub parse_args { | ||||
|     Getopt::Long::Configure( "bundling" ); | ||||
|     $request->{method} = undef; | ||||
|  | ||||
|     if ( !GetOptions( \%opt, qw(V|Verbose resetnet))) { | ||||
|     if ( !GetOptions( \%opt, qw(V|verbose resetnet))) { | ||||
|         return( usage() ); | ||||
|     } | ||||
|     #################################### | ||||
|   | ||||
| @@ -57,7 +57,7 @@ sub mkhwconn_parse_args | ||||
|     $Getopt::Long::ignorecase = 0; | ||||
|     Getopt::Long::Configure( "bundling" ); | ||||
|  | ||||
|     if ( !GetOptions( \%opt, qw(V|Verbose h|help t  s:s T=s p=s P=s port=s ) )) { | ||||
|     if ( !GetOptions( \%opt, qw(V|verbose h|help t  s:s T=s p=s P=s port=s ) )) { | ||||
|         return( usage() ); | ||||
|     } | ||||
|  | ||||
| @@ -322,7 +322,7 @@ sub lshwconn_parse_args | ||||
|         return $opttmp; | ||||
|     } | ||||
| 	 | ||||
|     if ( !GetOptions( \%opt, qw(V|Verbose h|help T=s s) )) { | ||||
|     if ( !GetOptions( \%opt, qw(V|verbose h|help T=s s) )) { | ||||
|         return( usage() ); | ||||
|     } | ||||
|     return usage() if ( exists $opt{h}); | ||||
| @@ -439,7 +439,7 @@ sub rmhwconn_parse_args | ||||
|     $Getopt::Long::ignorecase = 0; | ||||
|     Getopt::Long::Configure( "bundling" ); | ||||
|  | ||||
|     if ( !GetOptions( \%opt, qw(V|Verbose h|help T=s s) )) { | ||||
|     if ( !GetOptions( \%opt, qw(V|verbose h|help T=s s) )) { | ||||
|         return( usage() ); | ||||
|     } | ||||
|     return usage() if ( exists $opt{h}); | ||||
|   | ||||
| @@ -66,7 +66,7 @@ sub parse_args { | ||||
|     $Getopt::Long::ignorecase = 0; | ||||
|     Getopt::Long::Configure( "bundling" ); | ||||
|  | ||||
|     if ( !GetOptions( \%opt, qw(V|Verbose x) )) {  | ||||
|     if ( !GetOptions( \%opt, qw(V|verbose x) )) {  | ||||
|         return( usage() ); | ||||
|     } | ||||
|     #################################### | ||||
|   | ||||
| @@ -109,7 +109,7 @@ sub chvm_parse_args { | ||||
|     $Getopt::Long::ignorecase = 0; | ||||
|     Getopt::Long::Configure( "bundling" ); | ||||
|  | ||||
|     if ( !GetOptions( \%opt, qw(V|Verbose p=s i=s m=s r=s ) )) { | ||||
|     if ( !GetOptions( \%opt, qw(V|verbose p=s i=s m=s r=s ) )) { | ||||
|         return( usage() ); | ||||
|     } | ||||
|     #################################### | ||||
| @@ -361,7 +361,7 @@ sub mkvm_parse_args { | ||||
| #    if ( !GetOptions( \%opt, qw(V|verbose ibautocfg ibacap=s i=s l=s c=s p=s full) )) { | ||||
| #        return( usage() ); | ||||
| #    } | ||||
|     if ( !GetOptions( \%opt, qw(V|Verbose i=s m=s r=s ) )) { | ||||
|     if ( !GetOptions( \%opt, qw(V|verbose i=s m=s r=s ) )) { | ||||
|         return( usage() ); | ||||
|     } | ||||
| #################################### | ||||
| @@ -535,7 +535,7 @@ sub rmvm_parse_args { | ||||
|     $Getopt::Long::ignorecase = 0; | ||||
|     Getopt::Long::Configure( "bundling" ); | ||||
|  | ||||
|     if ( !GetOptions( \%opt, qw(V|Verbose service r) )) { | ||||
|     if ( !GetOptions( \%opt, qw(V|verbose service r) )) { | ||||
|         return( usage() ); | ||||
|     } | ||||
|     return(usage( "rmvm doesn't support for Power 775." )); | ||||
| @@ -592,7 +592,7 @@ sub lsvm_parse_args { | ||||
|     $Getopt::Long::ignorecase = 0; | ||||
|     Getopt::Long::Configure( "bundling" ); | ||||
|  | ||||
|     if ( !GetOptions( \%opt, qw(V|Verbose l|long) )) { | ||||
|     if ( !GetOptions( \%opt, qw(V|verbose l|long) )) { | ||||
|         return( usage() ); | ||||
|     } | ||||
|     #################################### | ||||
|   | ||||
| @@ -123,7 +123,7 @@ sub parse_args { | ||||
|     Getopt::Long::Configure( "bundling" ); | ||||
|     $request->{method} = undef; | ||||
|  | ||||
|     if ( !GetOptions( \%opt, qw(V|Verbose resetnet))) { | ||||
|     if ( !GetOptions( \%opt, qw(V|verbose resetnet))) { | ||||
|         return( usage() ); | ||||
|     } | ||||
|     #################################### | ||||
|   | ||||
| @@ -59,7 +59,7 @@ sub parse_args { | ||||
|     $Getopt::Long::ignorecase = 0; | ||||
|     Getopt::Long::Configure( "bundling" ); | ||||
|  | ||||
|     if ( !GetOptions( \%opt, qw(V|Verbose) )) {  | ||||
|     if ( !GetOptions( \%opt, qw(V|verbose) )) {  | ||||
|         return( usage() ); | ||||
|     } | ||||
|     #################################### | ||||
|   | ||||
| @@ -46,7 +46,7 @@ sub parse_args { | ||||
|     $Getopt::Long::ignorecase = 0; | ||||
|     Getopt::Long::Configure( "bundling" ); | ||||
|  | ||||
|     if ( !GetOptions( \%opt,qw(h|help V|Verbose v|version C=s G=s S=s D d f M o F=s arp))) {  | ||||
|     if ( !GetOptions( \%opt,qw(h|help V|verbose v|version C=s G=s S=s D d f M o F=s arp))) {  | ||||
|         return( usage() ); | ||||
|     } | ||||
|     #################################### | ||||
|   | ||||
| @@ -40,7 +40,7 @@ sub parse_args { | ||||
|     $Getopt::Long::ignorecase = 0; | ||||
|     Getopt::Long::Configure( "bundling" ); | ||||
|  | ||||
|     if ( !GetOptions( \%opt, qw(V|Verbose m:s@ t=s T=s r=s nodeps) )) { | ||||
|     if ( !GetOptions( \%opt, qw(V|verbose m:s@ t=s T=s r=s nodeps) )) { | ||||
|         return( usage() ); | ||||
|     } | ||||
|     #################################### | ||||
|   | ||||
| @@ -74,7 +74,7 @@ sub parse_args { | ||||
|     $Getopt::Long::ignorecase = 0; | ||||
|     Getopt::Long::Configure( "bundling" ); | ||||
|  | ||||
|     if ( !GetOptions( \%opt, qw(V|Verbose u w x z) )){ | ||||
|     if ( !GetOptions( \%opt, qw(V|verbose u w x z) )){ | ||||
|         return( usage() ); | ||||
|     } | ||||
|     #################################### | ||||
|   | ||||
| @@ -40,7 +40,7 @@ sub parse_args { | ||||
|     $Getopt::Long::ignorecase = 0; | ||||
|     Getopt::Long::Configure( "bundling" ); | ||||
|  | ||||
|     if ( !GetOptions( \%opt, qw(V|Verbose) )) { | ||||
|     if ( !GetOptions( \%opt, qw(V|verbose) )) { | ||||
|         return( usage() ); | ||||
|     } | ||||
|     #################################### | ||||
|   | ||||
| @@ -90,7 +90,7 @@ my %usage = ( | ||||
|     "rbootseq" =>  | ||||
| "Usage:  | ||||
|        Common: | ||||
|            rbootseq [-h|--help|-v|--version|-V|--Verbose] | ||||
|            rbootseq [-h|--help|-v|--version|-V|--verbose] | ||||
|        Blade specific: | ||||
|            rbootseq <noderange> [hd0|hd1|hd2|hd3|net|iscsi|usbflash|floppy|none],... | ||||
|        PPC (using Direct FSP Management) specific: | ||||
| @@ -101,7 +101,7 @@ my %usage = ( | ||||
|     "rspconfig" =>  | ||||
| "Usage:  | ||||
|    Common: | ||||
|        rspconfig [-h|--help|-v|--version|-V|--Verbose] | ||||
|        rspconfig [-h|--help|-v|--version|-V|--verbose] | ||||
|    BMC/MPA Common: | ||||
|        rspconfig <noderange> [snmpdest|alert|community] [-V|--verbose] | ||||
|        rspconfig <noderange> [snmpdest=<dest ip address>|alert=<on|off|en|dis|enable|disable>|community=<string>] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user