diff options
Diffstat (limited to 'Master/tlpkg/bin/check-file-coverage')
-rwxr-xr-x | Master/tlpkg/bin/check-file-coverage | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Master/tlpkg/bin/check-file-coverage b/Master/tlpkg/bin/check-file-coverage index facc6ab0efc..4aa8b07b5d6 100755 --- a/Master/tlpkg/bin/check-file-coverage +++ b/Master/tlpkg/bin/check-file-coverage @@ -35,16 +35,15 @@ my @IgnorePatterns = qw! tlpkg/texlive.tlpdb !; -TeXLive::TLUtils::process_logging_options(); - chomp (my $opt_master = `cd $::mydir/../.. && pwd`); -my $help = 0; +my $opt_help = 0; +TeXLive::TLUtils::process_logging_options(); GetOptions( "master=s" => \$opt_master, # location of the TL tree - "help|?" => \$help) or pod2usage(1); + "help|?" => \$opt_help) or pod2usage(1); -pod2usage(-exitstatus => 0, -verbose => 2) if $help; +pod2usage ('-exitstatus' => 0, '-verbose' => 2) if $opt_help; exit (&main ()); |