From: wulf@coulmann.de Date: Tue, 7 Jan 2014 15:23:59 +0000 (+0100) Subject: ./scripts/installation_check.pl X-Git-Tag: release-3.1.0beta1~22^2~25^2~5^2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=1f8989f79f9bfe310ca98b6047d15079ad225773;hp=08b7390952bc97832d83d5597f8774b5e4d940e4;p=kivitendo-erp.git ./scripts/installation_check.pl -v verbose ist nun per default an -V, --no-verbose als neue Option dazu gekommen --- diff --git a/scripts/installation_check.pl b/scripts/installation_check.pl index 6f76e3f45..3a69630ba 100755 --- a/scripts/installation_check.pl +++ b/scripts/installation_check.pl @@ -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