From abed8762b0477726a99b6150b73b539d4f5249e3 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 10 Jun 2017 01:48:53 +0000 Subject: style message about missing blank before trailing delimiter; inspired by mdoclint(1), and jmc@ considers it useful --- regress/mdoc/Bx/Makefile | 1 + regress/mdoc/Bx/args.in | 4 ++-- regress/mdoc/Bx/args.out_ascii | 4 ++-- regress/mdoc/Bx/args.out_lint | 1 + regress/mdoc/Bx/args.out_markdown | 4 ++-- 5 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 regress/mdoc/Bx/args.out_lint (limited to 'regress/mdoc/Bx') diff --git a/regress/mdoc/Bx/Makefile b/regress/mdoc/Bx/Makefile index 6d49f63a..03e9990c 100644 --- a/regress/mdoc/Bx/Makefile +++ b/regress/mdoc/Bx/Makefile @@ -1,5 +1,6 @@ # $OpenBSD: Makefile,v 1.2 2011/11/17 16:28:45 schwarze Exp $ REGRESS_TARGETS = args +LINT_TARGETS = args .include diff --git a/regress/mdoc/Bx/args.in b/regress/mdoc/Bx/args.in index d4479275..d6f8ff5e 100644 --- a/regress/mdoc/Bx/args.in +++ b/regress/mdoc/Bx/args.in @@ -1,4 +1,4 @@ -.Dd January 30, 2011 +.Dd June 9, 2017 .Dt BX-ARGS 1 .Os OpenBSD .Sh NAME @@ -12,7 +12,7 @@ one standard argument: .Bx 4.4 "." .Pp one non-standard argument: -.Bx nett +.Bx nett. .Pp one semi-standard argument: .Bx 4.1c diff --git a/regress/mdoc/Bx/args.out_ascii b/regress/mdoc/Bx/args.out_ascii index 24e03ffe..d7c1e769 100644 --- a/regress/mdoc/Bx/args.out_ascii +++ b/regress/mdoc/Bx/args.out_ascii @@ -8,7 +8,7 @@ DDEESSCCRRIIPPTTIIOONN one standard argument: 4.4BSD. - one non-standard argument: nettBSD + one non-standard argument: nett.BSD one semi-standard argument: 4.1cBSD @@ -18,4 +18,4 @@ DDEESSCCRRIIPPTTIIOONN end of test document -OpenBSD January 30, 2011 OpenBSD +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Bx/args.out_lint b/regress/mdoc/Bx/args.out_lint new file mode 100644 index 00000000..4f5dbcd9 --- /dev/null +++ b/regress/mdoc/Bx/args.out_lint @@ -0,0 +1 @@ +mandoc: args.in:15:9: STYLE: no blank before trailing delimiter: Bx nett. diff --git a/regress/mdoc/Bx/args.out_markdown b/regress/mdoc/Bx/args.out_markdown index 5450ee51..e2316621 100644 --- a/regress/mdoc/Bx/args.out_markdown +++ b/regress/mdoc/Bx/args.out_markdown @@ -13,7 +13,7 @@ one standard argument: 4\.4BSD. one non-standard argument: -nettBSD +nett.BSD one semi-standard argument: 4\.1cBSD @@ -26,4 +26,4 @@ more arguments: end of test document -OpenBSD - January 30, 2011 +OpenBSD - June 9, 2017 -- cgit v1.2.3-56-ge451