Revision 1f8989f7
Von wulf@coulmann.de vor fast 11 Jahren hinzugefügt
scripts/installation_check.pl | ||
---|---|---|
40 | 40 |
Getopt::Long::Configure ("bundling"); |
41 | 41 |
GetOptions( |
42 | 42 |
"v|verbose" => \ my $v, |
43 |
"V|no-verbose" => \ my $nv, |
|
43 | 44 |
"a|all" => \ $check{a}, |
44 | 45 |
"o|optional!" => \ $check{o}, |
45 | 46 |
"d|devel!" => \ $check{d}, |
... | ... | |
49 | 50 |
"c|color!" => \ ( my $c = 1 ), |
50 | 51 |
); |
51 | 52 |
|
53 |
# verbos is default |
|
54 |
if ( $v && $nv ){ |
|
55 |
$v = 1; |
|
56 |
}elsif ($nv){ |
|
57 |
undef $v; |
|
58 |
}else{ |
|
59 |
$v = 1; |
|
60 |
} |
|
61 |
|
|
52 | 62 |
# if nothing is requested check "required" |
53 | 63 |
my $default_run; |
54 | 64 |
if (!defined $check{a} |
... | ... | |
308 | 318 |
|
309 | 319 |
Don't probe for LaTeX document classes and packages in master templates. (Useful in combination with --all) |
310 | 320 |
|
311 |
=item C<-v. --verbose> |
|
321 |
=item C<-v, --verbose> |
|
322 |
|
|
323 |
Print additional info for missing dependancies (enabled by default) |
|
324 |
|
|
325 |
=item C<-V, --no-verbose> |
|
312 | 326 |
|
313 |
Print additional info for missing dependancies
|
|
327 |
Disable verbosity
|
|
314 | 328 |
|
315 | 329 |
=back |
316 | 330 |
|
Auch abrufbar als: Unified diff
./scripts/installation_check.pl
-v verbose ist nun per default an
-V, --no-verbose als neue Option dazu gekommen