diff options
author | joe <joe@FreeBSD.org> | 2001-05-15 02:36:21 +0800 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2001-05-15 02:36:21 +0800 |
commit | 957ca80909e0eb0c2e65b1b7dfd02834ae49b378 (patch) | |
tree | 27c70cb76937baccb8a8d7b2cec30bc7ef756376 | |
parent | bf3e18f146baac39bc1b953db947881d55e0625e (diff) | |
download | freebsd-ports-gnome-957ca80909e0eb0c2e65b1b7dfd02834ae49b378.tar.gz freebsd-ports-gnome-957ca80909e0eb0c2e65b1b7dfd02834ae49b378.tar.zst freebsd-ports-gnome-957ca80909e0eb0c2e65b1b7dfd02834ae49b378.zip |
Show the user why a failed syntax check occurred by showing the
regular expression that was used to perform the check.
-rwxr-xr-x | CVSROOT/logcheck | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CVSROOT/logcheck b/CVSROOT/logcheck index b6af99c6714f..7b75d1c95d3e 100755 --- a/CVSROOT/logcheck +++ b/CVSROOT/logcheck @@ -91,7 +91,7 @@ while ($j >= 0 and my $header = $log_in[$j]) { # Type check the header unless ($value =~ /^$pattern$/) { - print "Error: syntax check failed for: $header\n"; + print "Error: $header: should match /^$pattern\$/.\n"; ++$error; next; } |