aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Fl/long.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-04-26 21:41:07 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-04-26 21:41:07 +0000
commitdb42cb7f0b926817aff8c41cac4ad993a3db85aa (patch)
tree1d71c079f6f40e5c9b428d1a9116a445dbe86d16 /regress/mdoc/Fl/long.in
parentaea55337f3f72f530978a5e20d38888df13d5b2b (diff)
downloadmandoc-db42cb7f0b926817aff8c41cac4ad993a3db85aa.tar.gz
mandoc-db42cb7f0b926817aff8c41cac4ad993a3db85aa.tar.zst
mandoc-db42cb7f0b926817aff8c41cac4ad993a3db85aa.zip
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 <steffen at sdaoden dot eu> on freebsd-hackers.
Diffstat (limited to 'regress/mdoc/Fl/long.in')
-rw-r--r--regress/mdoc/Fl/long.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/regress/mdoc/Fl/long.in b/regress/mdoc/Fl/long.in
new file mode 100644
index 00000000..265a1e2a
--- /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: April 26 2020 $
+.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