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

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



>Number:         2040
>Notify-List:    
>Category:       mutt
>Synopsis:       command line option -D dumps to stdout, but mutt -h says it 
>dumps to stderr
>Confidential:   no
>Severity:       minor
>Priority:       low
>Responsible:    mutt-dev
>State:          open
>Keywords:       
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 16 14:42:06 +0200 2005
>Originator:     Gregor Zattler
>Release:        1.5.10
>Organization:
>Environment:
i386, Linux 2.6.12.4, mutt -v says:
pit:/tmp/mutt-1.5.10.orig/upstream/tarballs/mutt-1.5.10$ ./mutt -v
Mutt 1.5.10i (2005-08-11)
Copyright (C) 1996-2002 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.6.12.4 (i686) [using ncurses 5.4] [using libidn 0.5.18 
(compiled with 0.5.18)]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
+USE_FCNTL  -USE_FLOCK   -USE_INODESORT   
-USE_POP  -USE_IMAP  -USE_GSS  -USE_SSL  -USE_GNUTLS  -USE_SASL  -USE_SASL2  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME  -CRYPT_BACKEND_GPGME  
-BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  
+HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID  -HAVE_GETADDRINFO  
-USE_HCACHE  
ISPELL="/usr/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
To report a bug, please use the flea(1) utility.

>Description:
mutt -h

tells us:

"  -D            print the value of all variables to stderr"


but

mutt -D

dumps them to stdout.  

Don't know what's better but it does not work as advertized.  This option is 
not documented in mutt (1) but in manual.txt (section "6.1.  Command line 
options").
>How-To-Repeat:
mutt -D 2>/dev/null 
shows the configuartion variables
>Fix:
dump to stderr or correct manual and help text.
>Add-To-Audit-Trail:

>Unformatted: