summaryrefslogtreecommitdiffstats
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
commitde503f7238316cd79aad65b66e4c4c4f71f0153b (patch)
treebfe404cece291e82ce092cf1ba833eda0efd93dd /regress/man/MT/args.in
parentaa70c8a3f4759f3b1ba1f73a8d9325bdfff9c0b7 (diff)
downloadmandoc-de503f7238316cd79aad65b66e4c4c4f71f0153b.tar.gz
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