From 1f8989f79f9bfe310ca98b6047d15079ad225773 Mon Sep 17 00:00:00 2001 From: "wulf@coulmann.de" Date: Tue, 7 Jan 2014 16:23:59 +0100 Subject: [PATCH] ./scripts/installation_check.pl -v verbose ist nun per default an -V, --no-verbose als neue Option dazu gekommen --- scripts/installation_check.pl | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) 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 -- 2.20.1