summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2009-12-24 19:18:21 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2009-12-24 19:18:21 +0000
commit376e0ebef25a5fb653da069f2307f2ec245876e2 (patch)
tree009eb4261d94179e19be2c7d90f247b3707730ad /regress
parent39fd0825770c3e6280bbd0fb93c3d408d45780d9 (diff)
Regression test for .Fl with multiple arguments.
Still broken in 1.9.14, fix being sent to kristaps@.
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fl/Makefile6
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fl/multiarg.in14
2 files changed, 20 insertions, 0 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Fl/Makefile b/regress/usr.bin/mandoc/mdoc/Fl/Makefile
new file mode 100644
index 00000000000..efa2b071c1b
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Fl/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.1 2009/12/24 19:18:20 schwarze Exp $
+
+REGRESS_TARGETS=multiarg
+GROFF_TARGETS=multiarg
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Fl/multiarg.in b/regress/usr.bin/mandoc/mdoc/Fl/multiarg.in
new file mode 100644
index 00000000000..6e53e1824e8
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Fl/multiarg.in
@@ -0,0 +1,14 @@
+.Dd $Mdocdate: December 24 2009 $
+.Dt FL-MULTIARG 1
+.Os
+.Sh NAME
+.Nm Fl-multiarg
+.Nd multiple arguments to a Fl macro
+.Sh DESCRIPTION
+Each group of flags in
+.Fl a b c def
+gets its own dash.
+.Pp
+Punctuation characters like in
+.Op Fl a | b
+get no dash.