summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2008-10-09 06:48:12 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2008-10-09 06:48:12 +0000
commitdcb4edc1df1a415363f9ac7857aa3c72db6b5ff6 (patch)
treee0fd819a51f55c2bcbcb98f2acccaf87f01f92ef
parent69929ed1dc876facf609e9e5c1d1b1d07c5b8d27 (diff)
- add -d to usage
- sync -f arg name with man page synopsis
-rw-r--r--usr.bin/mail/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/mail/main.c b/usr.bin/mail/main.c
index 75d9ed99e9a..1fb59709d0d 100644
--- a/usr.bin/mail/main.c
+++ b/usr.bin/mail/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.21 2008/07/16 15:11:16 martynas Exp $ */
+/* $OpenBSD: main.c,v 1.22 2008/10/09 06:48:11 jmc Exp $ */
/* $NetBSD: main.c,v 1.7 1997/05/13 06:15:57 mikel Exp $ */
/*
@@ -40,7 +40,7 @@ static const char copyright[] =
#if 0
static const char sccsid[] = "@(#)main.c 8.2 (Berkeley) 4/20/95";
#else
-static const char rcsid[] = "$OpenBSD: main.c,v 1.21 2008/07/16 15:11:16 martynas Exp $";
+static const char rcsid[] = "$OpenBSD: main.c,v 1.22 2008/10/09 06:48:11 jmc Exp $";
#endif
#endif /* not lint */
@@ -296,11 +296,11 @@ __dead void
usage(void)
{
- fprintf(stderr, "usage: %s [-EIinv] [-b list] [-c list] "
+ fprintf(stderr, "usage: %s [-dEIinv] [-b list] [-c list] "
"[-s subject] to-addr ...\n", __progname);
fprintf(stderr, " %*s [-sendmail-options ...]\n",
(int)strlen(__progname), "");
- fprintf(stderr, " %s [-EIiNnv] -f [name]\n", __progname);
- fprintf(stderr, " %s [-EIiNnv] [-u user]\n", __progname);
+ fprintf(stderr, " %s [-dEIiNnv] -f [file]\n", __progname);
+ fprintf(stderr, " %s [-dEIiNnv] [-u user]\n", __progname);
exit(1);
}