From 81aa584b2fb42578083c3724876f0d11d9e09e4d 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/Ic/noarg.in | 4 ++-- regress/mdoc/Ic/noarg.out_ascii | 4 ++-- regress/mdoc/Ic/noarg.out_lint | 1 + regress/mdoc/Ic/noarg.out_markdown | 4 ++-- 4 files changed, 7 insertions(+), 6 deletions(-) (limited to 'regress/mdoc/Ic') diff --git a/regress/mdoc/Ic/noarg.in b/regress/mdoc/Ic/noarg.in index 76c22e7b..2c4bf670 100644 --- a/regress/mdoc/Ic/noarg.in +++ b/regress/mdoc/Ic/noarg.in @@ -1,4 +1,4 @@ -.Dd January 19, 2011 +.Dd June 9, 2017 .Dt IC-NOARG 1 .Os OpenBSD .Sh NAME @@ -6,7 +6,7 @@ .Nd interactive command without an argument .Sh DESCRIPTION with command: -.Ic ls +.Ic ls. no command: .Ic end of test document diff --git a/regress/mdoc/Ic/noarg.out_ascii b/regress/mdoc/Ic/noarg.out_ascii index c5dda265..8899a951 100644 --- a/regress/mdoc/Ic/noarg.out_ascii +++ b/regress/mdoc/Ic/noarg.out_ascii @@ -4,6 +4,6 @@ NNAAMMEE IIcc--nnooaarrgg - interactive command without an argument DDEESSCCRRIIPPTTIIOONN - with command: llss no command: end of test document + with command: llss.. no command: end of test document -OpenBSD January 19, 2011 OpenBSD +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Ic/noarg.out_lint b/regress/mdoc/Ic/noarg.out_lint index 5ae495bd..9520793e 100644 --- a/regress/mdoc/Ic/noarg.out_lint +++ b/regress/mdoc/Ic/noarg.out_lint @@ -1 +1,2 @@ mandoc: noarg.in:11:2: WARNING: skipping empty macro: Ic +mandoc: noarg.in:9:7: STYLE: no blank before trailing delimiter: Ic ls. diff --git a/regress/mdoc/Ic/noarg.out_markdown b/regress/mdoc/Ic/noarg.out_markdown index de7e6143..38162de3 100644 --- a/regress/mdoc/Ic/noarg.out_markdown +++ b/regress/mdoc/Ic/noarg.out_markdown @@ -7,8 +7,8 @@ IC-NOARG(1) - General Commands Manual # DESCRIPTION with command: -**ls** +**ls.** no command: end of test document -OpenBSD - January 19, 2011 +OpenBSD - June 9, 2017 -- cgit