]> wagnertech.de Git - mfinanz.git/blobdiff - scripts/installation_check.pl
Merge branch 'sepa-fixes-2320'
[mfinanz.git] / scripts / installation_check.pl
index 6f76e3f4531bbe13719462c2c3faac0b8f84142b..3a69630ba04771747e0f32a87a5817d1279fcc7b 100755 (executable)
@@ -40,6 +40,7 @@ my %check;
 Getopt::Long::Configure ("bundling");
 GetOptions(
   "v|verbose"   => \ my $v,
+  "V|no-verbose"   => \ my $nv,
   "a|all"       => \ $check{a},
   "o|optional!" => \ $check{o},
   "d|devel!"    => \ $check{d},
@@ -49,6 +50,15 @@ GetOptions(
   "c|color!"    => \ ( my $c = 1 ),
 );
 
+# verbos is default
+if ( $v && $nv ){
+  $v = 1;
+}elsif ($nv){
+  undef $v;
+}else{
+  $v = 1;
+}
+
 # if nothing is requested check "required"
 my $default_run;
 if (!defined $check{a}
@@ -308,9 +318,13 @@ Probe for LaTeX documentclasses and packages in master templates.
 
 Don't probe for LaTeX document classes and packages in master templates. (Useful in combination with --all)
 
-=item C<-v. --verbose>
+=item C<-v, --verbose>
+
+Print additional info for missing dependancies (enabled by default)
+
+=item C<-V, --no-verbose>
 
-Print additional info for missing dependancies
+Disable verbosity
 
 =back