pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/lintpkgsrc/files lintpkgsrc: clean up the out...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2f8e071266cc
branches:  trunk
changeset: 383157:2f8e071266cc
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Aug 13 11:34:39 2022 +0000

description:
lintpkgsrc: clean up the output of running 'lintpkgsrc --help'

diffstat:

 pkgtools/lintpkgsrc/files/lintpkgsrc.pl |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r c79152878d03 -r 2f8e071266cc pkgtools/lintpkgsrc/files/lintpkgsrc.pl
--- a/pkgtools/lintpkgsrc/files/lintpkgsrc.pl   Sat Aug 13 11:27:56 2022 +0000
+++ b/pkgtools/lintpkgsrc/files/lintpkgsrc.pl   Sat Aug 13 11:34:39 2022 +0000
@@ -1,6 +1,6 @@
 #!@PERL5@
 
-# $NetBSD: lintpkgsrc.pl,v 1.86 2022/08/13 11:27:32 rillig Exp $
+# $NetBSD: lintpkgsrc.pl,v 1.87 2022/08/13 11:34:39 rillig Exp $
 
 # Written by David Brownlee <abs%netbsd.org@localhost>.
 #
@@ -1605,7 +1605,7 @@
            ":/bin:/usr/bin:/sbin:/usr/sbin:$conf_prefix/sbin:$conf_prefix/bin";
 
        if (
-           !getopts('BDE:I:K:LM:OP:RSVdg:himopruyz', \%opt)
+           !getopts('-BDE:I:K:LM:OP:RSVdg:himopruyz', \%opt)
                || $opt{h}
                || !grep(/[BDEORSdgimopruyz]/, keys %opt)) {
                usage_and_exit($opt{h} ? 0 : 1);



Home | Main Index | Thread Index | Old Index