diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-10 01:48:53 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-10 01:48:53 +0000 |
commit | 81aa584b2fb42578083c3724876f0d11d9e09e4d (patch) | |
tree | 542564f1972e19ff89c99a2408036b552424ca0a /regress/mdoc/Fl | |
parent | 0a22b0c0a17ed600835a33cebfe2cc2affd8ffc8 (diff) | |
download | mandoc-81aa584b2fb42578083c3724876f0d11d9e09e4d.tar.gz |
style message about missing blank before trailing delimiter;
inspired by mdoclint(1), and jmc@ considers it useful
Diffstat (limited to 'regress/mdoc/Fl')
-rw-r--r-- | regress/mdoc/Fl/Makefile | 1 | ||||
-rw-r--r-- | regress/mdoc/Fl/punct.in | 5 | ||||
-rw-r--r-- | regress/mdoc/Fl/punct.out_ascii | 4 | ||||
-rw-r--r-- | regress/mdoc/Fl/punct.out_lint | 1 | ||||
-rw-r--r-- | regress/mdoc/Fl/punct.out_markdown | 5 |
5 files changed, 13 insertions, 3 deletions
diff --git a/regress/mdoc/Fl/Makefile b/regress/mdoc/Fl/Makefile index e9e01a19..f2b2a9aa 100644 --- a/regress/mdoc/Fl/Makefile +++ b/regress/mdoc/Fl/Makefile @@ -1,5 +1,6 @@ # $OpenBSD: Makefile,v 1.8 2014/08/21 12:56:24 schwarze Exp $ REGRESS_TARGETS = noarg multiarg parsed punct font +LINT_TARGETS = punct .include <bsd.regress.mk> diff --git a/regress/mdoc/Fl/punct.in b/regress/mdoc/Fl/punct.in index 8cc4c2fe..a4da35fb 100644 --- a/regress/mdoc/Fl/punct.in +++ b/regress/mdoc/Fl/punct.in @@ -1,4 +1,4 @@ -.Dd August 21, 2014 +.Dd June 9, 2017 .Dt FL-PUNCT 1 .Os OpenBSD .Sh NAME @@ -40,3 +40,6 @@ op bracket .Pp quoted punctuation: .Fl a "(" b "|" c ")" d "," "Em" italic . +.Pp +trailing delimiter: +.Fl a. diff --git a/regress/mdoc/Fl/punct.out_ascii b/regress/mdoc/Fl/punct.out_ascii index 1ef60d4d..cf8a15c2 100644 --- a/regress/mdoc/Fl/punct.out_ascii +++ b/regress/mdoc/Fl/punct.out_ascii @@ -11,4 +11,6 @@ DDEESSCCRRIIPPTTIIOONN quoted punctuation: --aa (--bb | --cc) --dd, _i_t_a_l_i_c. -OpenBSD August 21, 2014 OpenBSD + trailing delimiter: --aa.. + +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Fl/punct.out_lint b/regress/mdoc/Fl/punct.out_lint new file mode 100644 index 00000000..a792bbf7 --- /dev/null +++ b/regress/mdoc/Fl/punct.out_lint @@ -0,0 +1 @@ +mandoc: punct.in:45:6: STYLE: no blank before trailing delimiter: Fl a. diff --git a/regress/mdoc/Fl/punct.out_markdown b/regress/mdoc/Fl/punct.out_markdown index 54d10ae5..562ff295 100644 --- a/regress/mdoc/Fl/punct.out_markdown +++ b/regress/mdoc/Fl/punct.out_markdown @@ -42,4 +42,7 @@ op bracket quoted punctuation: **-a** (**-b** | **-c**) **-d**, *italic*. -OpenBSD - August 21, 2014 +trailing delimiter: +**-a.** + +OpenBSD - June 9, 2017 |