From 85894795c6383ce730e61026d75748f1cc8798e9 Mon Sep 17 00:00:00 2001 From: Casandra Qiu Date: Tue, 21 Aug 2018 15:18:12 -0400 Subject: [PATCH] Change options Verbose to verbose --- perl-xCAT/xCAT/PPClog.pm | 2 +- perl-xCAT/xCAT/SINV.pm | 2 +- xCAT-server/lib/xcat/plugins/docker.pm | 2 +- xCAT-server/lib/xcat/plugins/hpblade.pm | 2 +- xCAT-server/lib/xcat/plugins/lsslp.pm | 2 +- xCAT-server/lib/xcat/plugins/makentp.pm | 2 +- xCAT-server/lib/xcat/plugins/rescanplugins.pm | 2 +- xCAT-server/lib/xcat/plugins/xCATWorld.pm | 2 +- xCAT-server/lib/xcat/plugins/zone.pm | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/perl-xCAT/xCAT/PPClog.pm b/perl-xCAT/xCAT/PPClog.pm index 720288f89..54530500b 100644 --- a/perl-xCAT/xCAT/PPClog.pm +++ b/perl-xCAT/xCAT/PPClog.pm @@ -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()); } #################################### diff --git a/perl-xCAT/xCAT/SINV.pm b/perl-xCAT/xCAT/SINV.pm index 1a6887dad..6a8606ea6 100644 --- a/perl-xCAT/xCAT/SINV.pm +++ b/perl-xCAT/xCAT/SINV.pm @@ -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'}, ) ) { diff --git a/xCAT-server/lib/xcat/plugins/docker.pm b/xCAT-server/lib/xcat/plugins/docker.pm index 3c6d30cb9..3c342facc 100755 --- a/xCAT-server/lib/xcat/plugins/docker.pm +++ b/xCAT-server/lib/xcat/plugins/docker.pm @@ -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()); } diff --git a/xCAT-server/lib/xcat/plugins/hpblade.pm b/xCAT-server/lib/xcat/plugins/hpblade.pm index e3c9f0477..81c8a6299 100755 --- a/xCAT-server/lib/xcat/plugins/hpblade.pm +++ b/xCAT-server/lib/xcat/plugins/hpblade.pm @@ -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])) { diff --git a/xCAT-server/lib/xcat/plugins/lsslp.pm b/xCAT-server/lib/xcat/plugins/lsslp.pm index 369b41867..697390ce2 100755 --- a/xCAT-server/lib/xcat/plugins/lsslp.pm +++ b/xCAT-server/lib/xcat/plugins/lsslp.pm @@ -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()); } diff --git a/xCAT-server/lib/xcat/plugins/makentp.pm b/xCAT-server/lib/xcat/plugins/makentp.pm index c05ef697c..35d20ee84 100755 --- a/xCAT-server/lib/xcat/plugins/makentp.pm +++ b/xCAT-server/lib/xcat/plugins/makentp.pm @@ -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()); } diff --git a/xCAT-server/lib/xcat/plugins/rescanplugins.pm b/xCAT-server/lib/xcat/plugins/rescanplugins.pm index 8c58b0ef4..9a60d2e77 100644 --- a/xCAT-server/lib/xcat/plugins/rescanplugins.pm +++ b/xCAT-server/lib/xcat/plugins/rescanplugins.pm @@ -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'} ) ) { diff --git a/xCAT-server/lib/xcat/plugins/xCATWorld.pm b/xCAT-server/lib/xcat/plugins/xCATWorld.pm index bb90b99ce..9d73371d3 100644 --- a/xCAT-server/lib/xcat/plugins/xCATWorld.pm +++ b/xCAT-server/lib/xcat/plugins/xCATWorld.pm @@ -120,7 +120,7 @@ sub process_request !GetOptions( 'h|help' => \$options{'help'}, 'v|version' => \$options{'version'}, - 'V|Verbose' => \$options{'verbose'} + 'V|verbose' => \$options{'verbose'} ) ) { diff --git a/xCAT-server/lib/xcat/plugins/zone.pm b/xCAT-server/lib/xcat/plugins/zone.pm index 7e5803cdb..780101ea7 100644 --- a/xCAT-server/lib/xcat/plugins/zone.pm +++ b/xCAT-server/lib/xcat/plugins/zone.pm @@ -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'}, ) ) {