diff options
author | Igor Sobrado <sobrado@cvs.openbsd.org> | 2008-05-28 16:01:43 +0000 |
---|---|---|
committer | Igor Sobrado <sobrado@cvs.openbsd.org> | 2008-05-28 16:01:43 +0000 |
commit | 7420dca46ee08443a5fafe7c82edabf49b0f901a (patch) | |
tree | fc142358d8a34b6a657a0ae32b0826bd58de33e6 | |
parent | f976c49685cdc1c0fbff2cc5b3af71915fab0d1f (diff) |
add a description for -D and -T (taken from NetBSD's rmail(8));
use the right capitalization for "sendmail".
tweaks by jmc@ and jsing@, thanks!
ok jmc@, jsing@, millert@
-rw-r--r-- | bin/rmail/rmail.8 | 15 | ||||
-rw-r--r-- | bin/rmail/rmail.c | 6 |
2 files changed, 16 insertions, 5 deletions
diff --git a/bin/rmail/rmail.8 b/bin/rmail/rmail.8 index 8071902502c..dd0d38343ee 100644 --- a/bin/rmail/rmail.8 +++ b/bin/rmail/rmail.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rmail.8,v 1.18 2007/08/06 19:16:05 sobrado Exp $ +.\" $OpenBSD: rmail.8,v 1.19 2008/05/28 16:01:42 sobrado Exp $ .\" $NetBSD: rmail.8,v 1.8 1995/03/21 07:08:21 cgd Exp $ .\" .\" Copyright (c) 1983, 1990 The Regents of the University of California. @@ -30,7 +30,7 @@ .\" .\" @(#)rmail.8 6.10 (Berkeley) 4/29/93 .\" -.Dd $Mdocdate: August 6 2007 $ +.Dd $Mdocdate: May 28 2008 $ .Dt RMAIL 8 .Os .Sh NAME @@ -38,6 +38,8 @@ .Nd handle remote mail received via uucp .Sh SYNOPSIS .Nm rmail +.Op Fl T +.Op Fl D Ar domain .Ar user ... .Sh DESCRIPTION The @@ -57,6 +59,15 @@ is explicitly designed for use with uucp and .Xr sendmail 8 . .Pp +The options are as follows: +.Bl -tag -width Ds +.It Fl D Ar domain +Change the domain. +The default domain is UUCP. +.It Fl T +Enter debugging mode. +.El +.Pp .Sy Note: uucp is not part of the base .Ox diff --git a/bin/rmail/rmail.c b/bin/rmail/rmail.c index 1f6876124ff..bce0429adab 100644 --- a/bin/rmail/rmail.c +++ b/bin/rmail/rmail.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rmail.c,v 1.22 2008/02/25 18:52:39 deraadt Exp $ */ +/* $OpenBSD: rmail.c,v 1.23 2008/05/28 16:01:42 sobrado Exp $ */ /* $NetBSD: rmail.c,v 1.8 1995/09/07 06:51:50 jtc Exp $ */ /* @@ -40,7 +40,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)rmail.c 8.3 (Berkeley) 5/15/95"; #else -static char rcsid[] = "$OpenBSD: rmail.c,v 1.22 2008/02/25 18:52:39 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: rmail.c,v 1.23 2008/05/28 16:01:42 sobrado Exp $"; #endif #endif /* not lint */ @@ -291,7 +291,7 @@ main(int argc, char *argv[]) args[i] = 0; if (debug) { - (void)fprintf(stderr, "Sendmail arguments:\n"); + (void)fprintf(stderr, "sendmail arguments:\n"); for (i = 0; args[i]; i++) (void)fprintf(stderr, "\t%s\n", args[i]); } |