pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/lintpkgsrc/files



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sat Aug 13 11:34:39 UTC 2022

Modified Files:
        pkgsrc/pkgtools/lintpkgsrc/files: lintpkgsrc.pl

Log Message:
lintpkgsrc: clean up the output of running 'lintpkgsrc --help'


To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.pl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.pl
diff -u pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.pl:1.86 pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.pl:1.87
--- pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.pl:1.86 Sat Aug 13 11:27:32 2022
+++ pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.pl      Sat Aug 13 11:34:39 2022
@@ -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 @@ sub main() {
            ":/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