summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorsoren <soren@NetBSD.org>2001-12-20 20:10:33 +0000
committersoren <soren@NetBSD.org>2001-12-20 20:10:33 +0000
commitdc53bf3cbaf8dbf0ff06a469761b28105a2ae1f0 (patch)
treebfc8df347a3c3b3b84cdd990e8e8b0001af6adbc /libexec
parent598b3724c277278d5f7a521a6b367b97ea98ced6 (diff)
Sync getopt() / man page with actual getopt options.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/mail.local/mail.local.c6
-rw-r--r--libexec/rmail/rmail.812
2 files changed, 14 insertions, 4 deletions
diff --git a/libexec/mail.local/mail.local.c b/libexec/mail.local/mail.local.c
index 6ed0a68b1e4..bec3a4c4c17 100644
--- a/libexec/mail.local/mail.local.c
+++ b/libexec/mail.local/mail.local.c
@@ -1,4 +1,4 @@
-/* $NetBSD: mail.local.c,v 1.18 2001/01/04 17:29:05 lukem Exp $ */
+/* $NetBSD: mail.local.c,v 1.19 2001/12/20 20:10:35 soren Exp $ */
/*-
* Copyright (c) 1990, 1993, 1994
@@ -40,7 +40,7 @@ __COPYRIGHT("@(#) Copyright (c) 1990, 1993, 1994\n\
#if 0
static char sccsid[] = "@(#)mail.local.c 8.22 (Berkeley) 6/21/95";
#else
-__RCSID("$NetBSD: mail.local.c,v 1.18 2001/01/04 17:29:05 lukem Exp $");
+__RCSID("$NetBSD: mail.local.c,v 1.19 2001/12/20 20:10:35 soren Exp $");
#endif
#endif /* not lint */
@@ -302,7 +302,7 @@ notifybiff(msg)
void
usage()
{
- err(FATAL, "usage: mail.local [-f from] user ...");
+ err(FATAL, "usage: mail.local [-l] [-f from] user ...");
}
#if __STDC__
diff --git a/libexec/rmail/rmail.8 b/libexec/rmail/rmail.8
index 40c93eac389..8c44e4c715b 100644
--- a/libexec/rmail/rmail.8
+++ b/libexec/rmail/rmail.8
@@ -1,4 +1,4 @@
-.\" $NetBSD: rmail.8,v 1.12 1999/03/22 18:25:46 garbled Exp $
+.\" $NetBSD: rmail.8,v 1.13 2001/12/20 20:10:35 soren Exp $
.\"
.\" Copyright (c) 1983, 1990 The Regents of the University of California.
.\" All rights reserved.
@@ -41,6 +41,8 @@
.Nd handle remote mail received via uucp
.Sh SYNOPSIS
.Nm
+.Op Fl T
+.Op Fl D Ar domain
.Ar user ...
.Sh DESCRIPTION
.Nm
@@ -58,6 +60,14 @@ is explicitly designed for use with
.Xr uucp 1
and
.Xr sendmail 8 .
+.Pp
+The following options can be used.
+.Bl -tag -width indent
+.It Fl T
+Enter debugging mode.
+.It Fl D
+Change domain from default.
+Default is ``UUCP''.
.Sh SEE ALSO
.Xr uucp 1 ,
.Xr mail.local 8 ,