mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	Change options Verbose to verbose
This commit is contained in:
		| @@ -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()); | ||||
|     } | ||||
|     #################################### | ||||
|   | ||||
| @@ -118,7 +118,7 @@ sub parse_and_run_sinv | ||||
|             'c|cmd=s'                 => \$options{'sinv_cmd'}, | ||||
|             'f|file=s'                => \$options{'sinv_cmd_file'}, | ||||
|             'v|version'               => \$options{'version'}, | ||||
|             'V|Verbose'               => \$options{'verbose'}, | ||||
|             'V|verbose'               => \$options{'verbose'}, | ||||
|         ) | ||||
|       ) | ||||
|     { | ||||
|   | ||||
| @@ -647,7 +647,7 @@ sub parse_args { | ||||
|     # Process command-line flags | ||||
|     ############################################# | ||||
|     if (!GetOptions(\%opt, | ||||
|             qw(h|help V|Verbose v|version))) { | ||||
|             qw(h|help V|verbose v|version))) { | ||||
|         return (usage()); | ||||
|     } | ||||
|  | ||||
|   | ||||
| @@ -1468,7 +1468,7 @@ sub rscan { | ||||
|         return (join('', ($_[0], $usage_string))); | ||||
|     }; | ||||
|  | ||||
|     if (!GetOptions(\%opt, qw(V|Verbose w x z))) { | ||||
|     if (!GetOptions(\%opt, qw(V|verbose w x z))) { | ||||
|         return (1, usage()); | ||||
|     } | ||||
|     if (defined($ARGV[0])) { | ||||
|   | ||||
| @@ -283,7 +283,7 @@ sub parse_args { | ||||
|     # Process command-line flags | ||||
|     ############################################# | ||||
|     if (!GetOptions(\%opt, | ||||
|             qw(h|help V|Verbose v|version i=s x z w r s=s e=s t=s m c n C=s T=s I u range=s flexdiscover updatehosts vpdtable))) { | ||||
|             qw(h|help V|verbose v|version i=s x z w r s=s e=s t=s m c n C=s T=s I u range=s flexdiscover updatehosts vpdtable))) { | ||||
|         return (usage()); | ||||
|     } | ||||
|  | ||||
|   | ||||
| @@ -129,7 +129,7 @@ sub parse_args { | ||||
|  | ||||
|     # Process command-line flags | ||||
|     if (!GetOptions(\%opt, | ||||
|             qw(h|help V|Verbose v|version a|all))) { | ||||
|             qw(h|help V|verbose v|version a|all))) { | ||||
|         return (usage()); | ||||
|     } | ||||
|  | ||||
|   | ||||
| @@ -76,7 +76,7 @@ sub preprocess_request | ||||
|             'h|help'         => \$options{'help'}, | ||||
|             's|servicenodes' => \$options{'servicenodes'}, | ||||
|             'v|version'      => \$options{'version'}, | ||||
|             'V|Verbose'      => \$options{'verbose'} | ||||
|             'V|verbose'      => \$options{'verbose'} | ||||
|         ) | ||||
|       ) | ||||
|     { | ||||
|   | ||||
| @@ -120,7 +120,7 @@ sub process_request | ||||
|         !GetOptions( | ||||
|             'h|help'    => \$options{'help'}, | ||||
|             'v|version' => \$options{'version'}, | ||||
|             'V|Verbose' => \$options{'verbose'} | ||||
|             'V|verbose' => \$options{'verbose'} | ||||
|         ) | ||||
|       ) | ||||
|     { | ||||
|   | ||||
| @@ -127,7 +127,7 @@ sub process_request | ||||
|             'K|genkeys'               => \$options{'gensshkeys'}, | ||||
|             's|sshbetweennodes=s'     => \$options{'sshbetweennodes'}, | ||||
|             'v|version'               => \$options{'version'}, | ||||
|             'V|Verbose'               => \$options{'verbose'}, | ||||
|             'V|verbose'               => \$options{'verbose'}, | ||||
|         ) | ||||
|       ) | ||||
|     { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user