summaryrefslogtreecommitdiffstats
path: root/regress/man/MT/args.in
diff options
context:
space:
mode:
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