aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/man/MT/args.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-25 14:09:44 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-25 14:09:44 +0000
commit968237f527c0925ee4300f535b2efb1d2a9e783f (patch)
tree4dcdee769d9b68dafce575104ea167ea188b8720 /regress/man/MT/args.in
parentcc054d87a39246eed78c9ae061022b305490a30b (diff)
downloadmandoc-968237f527c0925ee4300f535b2efb1d2a9e783f.tar.gz
mandoc-968237f527c0925ee4300f535b2efb1d2a9e783f.tar.zst
mandoc-968237f527c0925ee4300f535b2efb1d2a9e783f.zip
test new MT macro
Diffstat (limited to 'regress/man/MT/args.in')
-rw-r--r--regress/man/MT/args.in29
1 files changed, 29 insertions, 0 deletions
diff --git a/regress/man/MT/args.in b/regress/man/MT/args.in
new file mode 100644
index 00000000..e8335d0b
--- /dev/null
+++ b/regress/man/MT/args.in
@@ -0,0 +1,29 @@
+.TH MT-ARGS 1 "June 25, 2017" OpenBSD
+.SH NAME
+MT-args \- argument handling of the man-ext mailto macro
+.SH DESCRIPTION
+argument plus text:
+.MT test@example.com
+invalid
+address
+.ME
+.PP
+argument but no text:
+.MT test@example.com
+.ME
+.PP
+no argument, but text:
+.MT
+some text
+.ME
+.PP
+two arguments plus text:
+.MT first second
+some text
+.ME
+.PP
+two arguments, but no text:
+.MT first second
+.ME
+.PP
+final text