From 799dcee3c74bb844c9b494a80db82e7f99ae3fef Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 26 Apr 2020 21:41:07 +0000 Subject: While we do not recommend the idiom ".Fl Fl long" for long options because it is an abuse of semantic macros for device-specific presentational effects, this idiom is so widespread that it makes sense to convert it to the recommended ".Fl \-long" during the validation phase. For example, this improves HTML formatting in pages where authors have used the dubious .Fl Fl. Feature suggested by Steffen Nurpmeso on freebsd-hackers. --- regress/mdoc/Fl/long.in | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 regress/mdoc/Fl/long.in (limited to 'regress/mdoc/Fl/long.in') diff --git a/regress/mdoc/Fl/long.in b/regress/mdoc/Fl/long.in new file mode 100644 index 00000000..37c2b81c --- /dev/null +++ b/regress/mdoc/Fl/long.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: long.in,v 1.1 2020/04/26 21:29:46 schwarze Exp $ +.Dd $Mdocdate$ +.Dt FL-LONG 1 +.Os +.Sh NAME +.Nm Fl-long +.Nd GNU-style long options +.Sh DESCRIPTION +BEGINTEST +.Bl -tag -width Ds +.It Fl \-long +options +.It Fl Fl long +options +.El +ENDTEST -- cgit