summaryrefslogtreecommitdiff
path: root/mail/newmail/patches/patch-aa
blob: 3508bae824049fea1c7aff8bc3a5acdb00fa10c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
$NetBSD: patch-aa,v 1.1 2004/05/23 23:35:12 kristerw Exp $

--- newmail.c.orig	2004-05-24 01:29:15.000000000 +0200
+++ newmail.c	2004-05-24 01:32:01.000000000 +0200
@@ -148,19 +148,19 @@
 
 static void usage() {
 
-	fprintf(stderr,"usage: newmail [-deirv] directory|file directory|file ...
-
-where:
-	d: Prints messages when you do not have new mail
-	e: Exits with 0 on no new mail, 1 on new mail, > 1 on error
-		(normally exits with a value from sysexits(3)). May not be used
-		with -d or -i.
-	i: Prints a message for each mailbox that has new mail (and those
-		that don't if -d is also used)
-	r: Warns if it finds a non regular file
-	v: Print version number and exit
-	
-directory|file are, respectively, directories to look in for mailboxes
+	fprintf(stderr,"usage: newmail [-deirv] directory|file directory|file ...\n\
+\n\
+where:\n\
+	d: Prints messages when you do not have new mail\n\
+	e: Exits with 0 on no new mail, 1 on new mail, > 1 on error\n\
+		(normally exits with a value from sysexits(3)). May not be used\n\
+		with -d or -i.\n\
+	i: Prints a message for each mailbox that has new mail (and those\n\
+		that don't if -d is also used)\n\
+	r: Warns if it finds a non regular file\n\
+	v: Print version number and exit\n\
+	\n\
+directory|file are, respectively, directories to look in for mailboxes\n\
 and mailboxes.\n");
 
 	exit(EX_USAGE);