From 43e120b4b3b19477f6f86574e396a9cea28cd548 Mon Sep 17 00:00:00 2001 From: Anders Nordby Date: Mon, 18 Nov 2002 02:37:30 +0000 Subject: Add -A option for all additional checks. Approved by: (silence from) mharo --- devel/portlint/src/portlint.1 | 2 ++ devel/portlint/src/portlint.pl | 12 ++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'devel/portlint/src') diff --git a/devel/portlint/src/portlint.1 b/devel/portlint/src/portlint.1 index d4f072ad6865..904157d9e90b 100644 --- a/devel/portlint/src/portlint.1 +++ b/devel/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/devel/portlint/src/portlint.pl b/devel/portlint/src/portlint.pl index 2db5d109a6da..8c510d6315a0 100644 --- a/devel/portlint/src/portlint.pl +++ b/devel/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; -- cgit v1.2.3