summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorIgor Sobrado <sobrado@cvs.openbsd.org>2024-11-05 16:14:40 +0000
committerIgor Sobrado <sobrado@cvs.openbsd.org>2024-11-05 16:14:40 +0000
commitf1934e073835c74c0a0e5633266481b4a4033175 (patch)
treef54c8d8dc390a27637602f1cfe1fbb8052b63490 /usr.bin
parent2ba68fd0ee61ed692da08bd93e9641122aac4682 (diff)
make usage for both mail(1) and mailx(1) fit in a 80-column display.
ok miod@ and millert@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mail/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mail/main.c b/usr.bin/mail/main.c
index f802c07f9f0..9ac0addffd5 100644
--- a/usr.bin/mail/main.c
+++ b/usr.bin/mail/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.35 2021/01/26 18:21:47 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.36 2024/11/05 16:14:39 sobrado Exp $ */
/* $NetBSD: main.c,v 1.7 1997/05/13 06:15:57 mikel Exp $ */
/*
@@ -336,9 +336,9 @@ setscreensize(void)
__dead void
usage(void)
{
-
fprintf(stderr, "usage: %s [-dEIinv] [-b list] [-c list] "
- "[-r from-addr] [-s subject] to-addr ...\n", __progname);
+ "[-r from-addr] [-s subject]\n"
+ "%*s to-addr ...\n", __progname, (int)strlen(__progname) + 7, "");
fprintf(stderr, " %s [-dEIiNnv] -f [file]\n", __progname);
fprintf(stderr, " %s [-dEIiNnv] [-u user]\n", __progname);
exit(1);