summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mdoclint
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2010-12-03 08:06:27 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2010-12-03 08:06:27 +0000
commit3aa479071a1d272973e6c4c3d569f6e0be6c981f (patch)
treef2a6b1b0cbea8079ecec875f7f8547cc1390f5d9 /regress/usr.bin/mdoclint
parentf151d607c525f9ae6756dadcc539afb462741ccf (diff)
turn off -H by default (<> warning), since mandoc does not have the same
html issues as nroff did; from Thomas Klausner
Diffstat (limited to 'regress/usr.bin/mdoclint')
-rw-r--r--regress/usr.bin/mdoclint/mdoclint4
-rw-r--r--regress/usr.bin/mdoclint/mdoclint.110
2 files changed, 8 insertions, 6 deletions
diff --git a/regress/usr.bin/mdoclint/mdoclint b/regress/usr.bin/mdoclint/mdoclint
index 97777c98e7e..c1fc99d7f0a 100644
--- a/regress/usr.bin/mdoclint/mdoclint
+++ b/regress/usr.bin/mdoclint/mdoclint
@@ -1,6 +1,6 @@
#!/usr/bin/perl
#
-# $OpenBSD: mdoclint,v 1.19 2010/09/26 15:13:32 jmc Exp $
+# $OpenBSD: mdoclint,v 1.20 2010/12/03 08:06:26 jmc Exp $
# $NetBSD: mdoclint,v 1.12 2010/08/30 12:20:44 wiz Exp $
#
# Copyright (c) 2001-2010 Thomas Klausner
@@ -54,7 +54,7 @@ my $options="aDdeFfHhmnoPprSsvwXx";
sub usage
{
- my $default = OPENBSD ? "-aDdfHmnoPprSsXx" : "-aDdefHmnoPprSsXx";
+ my $default = OPENBSD ? "-aDdfmnoPprSsXx" : "-aDdefmnoPprSsXx";
print STDERR <<"EOF";
mdoclint: verify man page correctness
diff --git a/regress/usr.bin/mdoclint/mdoclint.1 b/regress/usr.bin/mdoclint/mdoclint.1
index c85c752ea7f..68a8e7d8306 100644
--- a/regress/usr.bin/mdoclint/mdoclint.1
+++ b/regress/usr.bin/mdoclint/mdoclint.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mdoclint.1,v 1.9 2010/09/01 17:32:53 jmc Exp $
+.\" $OpenBSD: mdoclint.1,v 1.10 2010/12/03 08:06:26 jmc Exp $
.\" $NetBSD: mdoclint.1,v 1.2 2009/04/13 22:18:13 wiz Exp $
.\"
.\" Copyright (c) 2001-2010 Thomas Klausner
@@ -25,7 +25,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 1 2010 $
+.Dd $Mdocdate: December 3 2010 $
.Dt MDOCLINT 1
.Os
.Sh NAME
@@ -41,9 +41,9 @@ is a man page verifier.
It tries to automatically find as many common
errors that occur when writing man pages as possible.
If no flags are given,
-.Fl aDdfHmnoPprSsXx
+.Fl aDdfmnoPprSsXx
is assumed (that is, everything except
-.Fl eFhvw ) .
+.Fl eFHhvw ) .
.Pp
The options are as follows:
.Bl -tag -width Ds
@@ -78,6 +78,8 @@ Otherwise, the replacements are
.Dq \e*(Lt
and
.Dq \e*(Gt .
+This option is off by default,
+as these characters no longer pose any problems.
.It Fl h
Display usage.
.It Fl m