summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sobrado <sobrado@cvs.openbsd.org>2008-05-26 09:22:04 +0000
committerIgor Sobrado <sobrado@cvs.openbsd.org>2008-05-26 09:22:04 +0000
commit942c2eb3efe6d4c7a02d17199e8b8a308783d397 (patch)
treeaa7d6ed75fb0946eb2b490c08810e6150e22fcb3
parentee77314de87653e38edebe1da5f1b93bd272ad1f (diff)
sort flags on both the synopsis and usage.
ok jmc@
-rw-r--r--libexec/mail.local/mail.local.815
-rw-r--r--libexec/mail.local/mail.local.c6
2 files changed, 10 insertions, 11 deletions
diff --git a/libexec/mail.local/mail.local.8 b/libexec/mail.local/mail.local.8
index 6b33726bf2d..63a80ac1589 100644
--- a/libexec/mail.local/mail.local.8
+++ b/libexec/mail.local/mail.local.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mail.local.8,v 1.26 2007/05/31 19:19:40 jmc Exp $
+.\" $OpenBSD: mail.local.8,v 1.27 2008/05/26 09:22:03 sobrado Exp $
.\" Copyright (c) 1990 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -28,7 +28,7 @@
.\"
.\" from: @(#)mail.local.8 6.8 (Berkeley) 4/27/91
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: May 26 2008 $
.Dt MAIL.LOCAL 8
.Os
.Sh NAME
@@ -36,8 +36,7 @@
.Nd store mail in a mailbox
.Sh SYNOPSIS
.Nm mail.local
-.Op Fl L
-.Op Fl l
+.Op Fl Ll
.Op Fl f Ar from
.Ar user ...
.Sh DESCRIPTION
@@ -54,15 +53,15 @@ The options are as follows:
.Bl -tag -width Ds
.It Fl f Ar from
Specify the sender's name.
+.It Fl L
+Don't create a
+.Pa username.lock
+file while locking the spool.
.It Fl l
For compatibility, request that files named
.Pa username.lock
be used for locking.
(This is the default behavior.)
-.It Fl L
-Don't create a
-.Pa username.lock
-file while locking the spool.
.El
.Pp
Individual mail messages in the mailbox are delimited by an empty
diff --git a/libexec/mail.local/mail.local.c b/libexec/mail.local/mail.local.c
index 02ccb905536..57be1c18b0e 100644
--- a/libexec/mail.local/mail.local.c
+++ b/libexec/mail.local/mail.local.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mail.local.c,v 1.30 2006/05/13 04:17:07 deraadt Exp $ */
+/* $OpenBSD: mail.local.c,v 1.31 2008/05/26 09:22:03 sobrado Exp $ */
/*-
* Copyright (c) 1996-1998 Theo de Raadt <deraadt@theos.com>
@@ -41,7 +41,7 @@ char copyright[] =
#if 0
static char sccsid[] = "from: @(#)mail.local.c 5.6 (Berkeley) 6/19/91";
#else
-static char rcsid[] = "$OpenBSD: mail.local.c,v 1.30 2006/05/13 04:17:07 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: mail.local.c,v 1.31 2008/05/26 09:22:03 sobrado Exp $";
#endif
#endif /* not lint */
@@ -334,5 +334,5 @@ notifybiff(char *msg)
void
usage(void)
{
- merr(FATAL, "usage: mail.local [-lL] [-f from] user ...");
+ merr(FATAL, "usage: mail.local [-Ll] [-f from] user ...");
}