diff options
author | rillig <rillig@pkgsrc.org> | 2005-09-02 12:39:42 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-09-02 12:39:42 +0000 |
commit | 5ba3f6942403b4b03c04e90810f2063090640b14 (patch) | |
tree | ebf34a5643fc02f631a8f79ee12e63789b1d18d0 /pkgtools | |
parent | 8e2103a120413499626ba4e6b04344104fb18803 (diff) | |
download | pkgsrc-5ba3f6942403b4b03c04e90810f2063090640b14.tar.gz |
Removed the (undocumented) -d/--debug option.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index a530594116d..0b0732452d7 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -11,7 +11,7 @@ # Freely redistributable. Absolutely no warranty. # # From Id: portlint.pl,v 1.64 1998/02/28 02:34:05 itojun Exp -# $NetBSD: pkglint.pl,v 1.269 2005/09/02 12:10:16 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.270 2005/09/02 12:39:42 rillig Exp $ # # This version contains lots of changes necessary for NetBSD packages # done by: @@ -349,7 +349,6 @@ my (%warnings) = ( ); my $opt_autofix = false; -my $opt_debug = false; my $opt_dumpmakefile = false; my $opt_quiet = false; my $opt_recursive = false; @@ -377,8 +376,6 @@ my (@options) = ( my ($opt, $val) = @_; parse_multioption($val, \%warnings); } ], - [ "-d", "Enable debugging mode", - "debug|d", \$opt_debug ], [ "-g", "Mimic the gcc output format", "gcc-output-format|g", sub { @@ -2423,23 +2420,11 @@ sub main() { parse_command_line(); - if ($opt_debug) { - use Time::HiRes; - ($startsec, $startusec) = Time::HiRes::gettimeofday(); - } - @todo_dirs = (@ARGV != 0) ? @ARGV : ("."); while (@todo_dirs != 0) { checkdir(shift(@todo_dirs)); } - if ($opt_debug) { - ($endsec, $endusec) = Time::HiRes::gettimeofday(); - printf STDERR ("%.0f %s\n", - ($endsec - $startsec) * 1.0e6 + ($endusec - $startusec), - getcwd()); - } - print_summary_and_exit($opt_quiet); } |