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/Cm/noarg.in | 4 ++-- regress/mdoc/Cm/noarg.out_ascii | 4 ++-- regress/mdoc/Cm/noarg.out_lint | 1 + regress/mdoc/Cm/noarg.out_markdown | 4 ++-- 4 files changed, 7 insertions(+), 6 deletions(-) (limited to 'regress/mdoc/Cm') diff --git a/regress/mdoc/Cm/noarg.in b/regress/mdoc/Cm/noarg.in index 750ce84c..8347997b 100644 --- a/regress/mdoc/Cm/noarg.in +++ b/regress/mdoc/Cm/noarg.in @@ -1,4 +1,4 @@ -.Dd July 2, 2014 +.Dd June 9, 2017 .Dt CM-NOARG 1 .Os OpenBSD .Sh NAME @@ -9,4 +9,4 @@ end of line: .Nm mt Fl f Ar device Cm .Pp middle of line: -.Nm ps Fl x Cm Fl o Cm command +.Nm ps Fl x Cm Fl o Cm command. diff --git a/regress/mdoc/Cm/noarg.out_ascii b/regress/mdoc/Cm/noarg.out_ascii index 83186d1c..2b6dea57 100644 --- a/regress/mdoc/Cm/noarg.out_ascii +++ b/regress/mdoc/Cm/noarg.out_ascii @@ -6,6 +6,6 @@ NNAAMMEE DDEESSCCRRIIPPTTIIOONN end of line: mmtt --ff _d_e_v_i_c_e - middle of line: ppss --xx --oo ccoommmmaanndd + middle of line: ppss --xx --oo ccoommmmaanndd.. -OpenBSD July 2, 2014 OpenBSD +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Cm/noarg.out_lint b/regress/mdoc/Cm/noarg.out_lint index 3a828e5a..6568e687 100644 --- a/regress/mdoc/Cm/noarg.out_lint +++ b/regress/mdoc/Cm/noarg.out_lint @@ -1,2 +1,3 @@ mandoc: noarg.in:9:23: WARNING: skipping empty macro: Cm mandoc: noarg.in:12:13: WARNING: skipping empty macro: Cm +mandoc: noarg.in:12:31: STYLE: no blank before trailing delimiter: Cm command. diff --git a/regress/mdoc/Cm/noarg.out_markdown b/regress/mdoc/Cm/noarg.out_markdown index 6aff6353..05ceb960 100644 --- a/regress/mdoc/Cm/noarg.out_markdown +++ b/regress/mdoc/Cm/noarg.out_markdown @@ -10,6 +10,6 @@ end of line: **mt** **-f** *device* middle of line: -**ps** **-x** **-o** **command** +**ps** **-x** **-o** **command.** -OpenBSD - July 2, 2014 +OpenBSD - June 9, 2017 -- cgit v1.2.3-56-ge451