summaryrefslogtreecommitdiff
path: root/ports-mgmt/portlint
diff options
context:
space:
mode:
authorAnders Nordby <anders@FreeBSD.org>2002-11-18 02:37:30 +0000
committerAnders Nordby <anders@FreeBSD.org>2002-11-18 02:37:30 +0000
commit43e120b4b3b19477f6f86574e396a9cea28cd548 (patch)
treedc3177c2e1adbab34f2fdb5ddf4e413a81b2dfbc /ports-mgmt/portlint
parentUpdate to 1.0.4. (diff)
Add -A option for all additional checks.
Approved by: (silence from) mharo
Notes
Notes: svn path=/head/; revision=70353
Diffstat (limited to 'ports-mgmt/portlint')
-rw-r--r--ports-mgmt/portlint/src/portlint.12
-rw-r--r--ports-mgmt/portlint/src/portlint.pl12
2 files changed, 8 insertions, 6 deletions
diff --git a/ports-mgmt/portlint/src/portlint.1 b/ports-mgmt/portlint/src/portlint.1
index d4f072ad6865..904157d9e90b 100644
--- a/ports-mgmt/portlint/src/portlint.1
+++ b/ports-mgmt/portlint/src/portlint.1
@@ -35,6 +35,8 @@ especially when checking complex
.Pp
.Sy Options
.Bl -tag -width Fl
+.It Fl A
+Turn on all additional checks.
.It Fl a
Perform additional checks for extra files, such as
.Pa scripts/*
diff --git a/ports-mgmt/portlint/src/portlint.pl b/ports-mgmt/portlint/src/portlint.pl
index 2db5d109a6da..8c510d6315a0 100644
--- a/ports-mgmt/portlint/src/portlint.pl
+++ b/ports-mgmt/portlint/src/portlint.pl
@@ -99,16 +99,16 @@ sub version {
}
-getopts('abchtvB:M:NV');
+getopts('AabchtvB:M:NV');
&usage if $opt_h;
&version if $opt_V;
-$extrafile = 1 if $opt_a;
-$parenwarn = 1 if $opt_b;
-$committer = 1 if $opt_c;
+$extrafile = 1 if $opt_a || $opt_A;
+$parenwarn = 1 if $opt_b || $opt_A;
+$committer = 1 if $opt_c || $opt_A;
$verbose = 1 if $opt_v;
-$newport = 1 if $opt_N;
-$usetabs = 1 if $opt_t;
+$newport = 1 if $opt_N || $opt_A;
+$usetabs = 1 if $opt_t || $opt_A;
$contblank = $opt_B if $opt_B;
$makeenv = $opt_M;