<<< Date Index >>>     <<< Thread Index >>>

Re: mutt/2040: command line option -D dumps to stdout, but mutt -h says it dumps to stderr



On Tue, Aug 16, 2005 at 02:50:49PM +0200, Thomas Roessler wrote:

> > dump to stderr or correct manual and help text.
> This needs to be fixed in the manual.

The attached patch against CVS head should do it.

-- 
Paul
Index: main.c
===================================================================
RCS file: /home/roessler/cvs/mutt/main.c,v
retrieving revision 3.26
diff -u -3 -p -u -r3.26 main.c
--- main.c      8 Aug 2005 15:54:01 -0000       3.26
+++ main.c      16 Aug 2005 16:02:01 -0000
@@ -109,7 +109,7 @@ options:\n\
   -a <file>\tattach a file to the message\n\
   -b <address>\tspecify a blind carbon-copy (BCC) address\n\
   -c <address>\tspecify a carbon-copy (CC) address\n\
-  -D\t\tprint the value of all variables to stderr");
+  -D\t\tprint the value of all variables to stdout");
 #if DEBUG
   puts _("  -d <level>\tlog debugging output to ~/.muttdebug0");
 #endif
Index: doc/manual.sgml.head
===================================================================
RCS file: /home/roessler/cvs/mutt/doc/manual.sgml.head,v
retrieving revision 3.44
diff -u -3 -p -u -r3.44 manual.sgml.head
--- doc/manual.sgml.head        9 Aug 2005 19:59:46 -0000       3.44
+++ doc/manual.sgml.head        16 Aug 2005 16:02:03 -0000
@@ -3098,7 +3098,7 @@ to send messages from the command line a
 -a      attach a file to a message
 -b      specify a blind carbon-copy (BCC) address
 -c      specify a carbon-copy (Cc) address
--D      print the value of all mutt variables to stderr
+-D      print the value of all mutt variables to stdout
 -e      specify a config command to be run after initilization files are read
 -f      specify a mailbox to load
 -F      specify an alternate file to read initialization commands
Index: doc/mutt.man
===================================================================
RCS file: /home/roessler/cvs/mutt/doc/mutt.man,v
retrieving revision 3.7
diff -u -3 -p -u -r3.7 mutt.man
--- doc/mutt.man        1 Aug 2005 17:06:48 -0000       3.7
+++ doc/mutt.man        16 Aug 2005 16:02:03 -0000
@@ -48,6 +48,9 @@ mutt \- The Mutt Mail User Agent
 .PP
 .B mutt 
 -v[v]
+.PP
+.B mutt 
+-D
 .SH DESCRIPTION
 .PP
 Mutt is a small but very powerful text based program for reading electronic
@@ -63,6 +66,8 @@ Attach a file to your message using MIME
 Specify a blind-carbon-copy (BCC) recipient
 .IP "-c \fIaddress\fP"
 Specify a carbon-copy (CC) recipient
+.IP "-D"
+Print the value of all configuration options to stdout.
 .IP "-e \fIcommand\fP"
 Specify a configuration command to be run after processing of initialization
 files.

Attachment: signature.asc
Description: Digital signature