Blame SOURCES/fetchmail-6.3.26-options-usage-manpage.patch

ceae87
diff -up fetchmail-6.3.26/fetchmail.man.orig fetchmail-6.3.26/fetchmail.man
ceae87
--- fetchmail-6.3.26/fetchmail.man.orig	2016-04-27 13:18:17.911459399 +0200
ceae87
+++ fetchmail-6.3.26/fetchmail.man	2016-04-27 13:29:35.300958501 +0200
ceae87
@@ -164,6 +164,9 @@ Some special options are not covered her
ceae87
 in sections on AUTHENTICATION and DAEMON MODE which follow.
ceae87
 .SS General Options
ceae87
 .TP
ceae87
+.B \-? | \-\-help
ceae87
+Displays option help.
ceae87
+.TP
ceae87
 .B \-V | \-\-version
ceae87
 Displays the version information for your copy of \fBfetchmail\fP.  No mail
ceae87
 fetch is performed.  Instead, for each server specified, all the option
ceae87
@@ -1061,7 +1064,7 @@ sent to 'username\&@\&userhost.userdom.d
ceae87
 \fIDelivered\-To:\fR line of the form:
ceae87
 .IP
ceae87
 Delivered\-To: mbox\-userstr\-username\&@\&userhost.example.com
ceae87
-.PP
ceae87
+.IP
ceae87
 The ISP can make the 'mbox\-userstr\-' prefix anything they choose
ceae87
 but a string matching the user host name is likely.
ceae87
 By using the option 'envelope Delivered\-To:' you can make fetchmail reliably
ceae87
@@ -1075,6 +1078,10 @@ specified, and dump a configuration repo
ceae87
 configuration report is a data structure assignment in the language
ceae87
 Python.  This option is meant to be used with an interactive
ceae87
 \fI~/.fetchmailrc\fP editor like \fBfetchmailconf\fP, written in Python.
ceae87
+.TP
ceae87
+.B \-y | \-\-yydebug
ceae87
+Enables parser debugging, this option is meant to be used by developers
ceae87
+only.
ceae87
 
ceae87
 .SS Removed Options
ceae87
 .TP
ceae87
@@ -1360,6 +1367,8 @@ authentication or multiple timeouts.
ceae87
 .SS Terminating the background daemon
ceae87
 .PP
ceae87
 The option
ceae87
+.B \-q
ceae87
+or
ceae87
 .B \-\-quit
ceae87
 will kill a running daemon process instead of waking it up (if there
ceae87
 is no such process, \fBfetchmail\fP will notify you).
ceae87
@@ -1916,7 +1925,7 @@ T}
ceae87
 mda     	\-m	\&	T{
ceae87
 Specify MDA for local delivery
ceae87
 T}
ceae87
-bsmtp   	\-o	\&	T{
ceae87
+bsmtp   	\&	\&	T{
ceae87
 Specify BSMTP batch file to append to
ceae87
 T}
ceae87
 preconnect	\&	\&	T{
ceae87
diff -up fetchmail-6.3.26/options.c.orig fetchmail-6.3.26/options.c
ceae87
--- fetchmail-6.3.26/options.c.orig	2016-04-27 13:00:59.001360077 +0200
ceae87
+++ fetchmail-6.3.26/options.c	2016-04-27 13:17:48.325350247 +0200
ceae87
@@ -58,9 +58,9 @@ enum {
ceae87
     LA_BADHEADER
ceae87
 };
ceae87
 
ceae87
-/* options still left: CgGhHjJoORTWxXYz */
ceae87
+/* options still left: ACgGhHjJoORTWxXYz */
ceae87
 static const char *shortoptions = 
ceae87
-	"?Vcsvd:NqL:f:i:p:UP:A:t:E:Q:u:akKFnl:r:S:Z:b:B:e:m:I:M:yw:D:";
ceae87
+	"?Vcsvd:NqL:f:i:p:UP:t:E:Q:u:akKFnl:r:S:Z:b:B:e:m:I:M:yw:D:";
ceae87
 
ceae87
 static const struct option longoptions[] = {
ceae87
 /* this can be const because all flag fields are 0 and will never get set */
ceae87
@@ -630,6 +630,7 @@ int parsecmdline (int argc /** argument
ceae87
 	P(GT_("  -q, --quit        kill daemon process\n"));
ceae87
 	P(GT_("  -L, --logfile     specify logfile name\n"));
ceae87
 	P(GT_("      --syslog      use syslog(3) for most messages when running as a daemon\n"));
ceae87
+	P(GT_("      --nosyslog    turns off use of syslog(3)\n"));
ceae87
 	P(GT_("      --invisible   don't write Received & enable host spoofing\n"));
ceae87
 	P(GT_("  -f, --fetchmailrc specify alternate run control file\n"));
ceae87
 	P(GT_("  -i, --idfile      specify alternate UIDs file\n"));
ceae87
@@ -658,8 +659,9 @@ int parsecmdline (int argc /** argument
ceae87
 	P(GT_("      --bad-header {reject|accept}\n"
ceae87
 	      "                    specify policy for handling messages with bad headers\n"));
ceae87
 
ceae87
-	P(GT_("  -p, --protocol    specify retrieval protocol (see man page)\n"));
ceae87
+	P(GT_("  -p, --proto[col]  specify retrieval protocol (see man page)\n"));
ceae87
 	P(GT_("  -U, --uidl        force the use of UIDLs (pop3 only)\n"));
ceae87
+	P(GT_("      --idle        tells the IMAP server to send notice of new messages\n"));
ceae87
 	P(GT_("      --port        TCP port to connect to (obsolete, use --service)\n"));
ceae87
 	P(GT_("  -P, --service     TCP service to connect to (can be numeric TCP port)\n"));
ceae87
 	P(GT_("      --auth        authentication type (password/kerberos/ssh/otp)\n"));
ceae87
@@ -669,7 +671,7 @@ int parsecmdline (int argc /** argument
ceae87
 	P(GT_("      --principal   mail service principal\n"));
ceae87
 	P(GT_("      --tracepolls  add poll-tracing information to Received header\n"));
ceae87
 
ceae87
-	P(GT_("  -u, --username    specify users's login on server\n"));
ceae87
+	P(GT_("  -u, --user[name]  specify users's login on server\n"));
ceae87
 	P(GT_("  -a, --[fetch]all  retrieve old and new messages\n"));
ceae87
 	P(GT_("  -K, --nokeep      delete new messages after retrieval\n"));
ceae87
 	P(GT_("  -k, --keep        save new messages after retrieval\n"));