[Mailman-Developers] usage() going to stderr
Jon Parise
jon@csh.rit.edu
Mon Oct 21 21:13:55 2002
On Mon, Oct 21, 2002 at 01:03:23PM -0700, Chuq Von Rospach wrote:
> >Most of the scripts in the bin/ directory send their usage() output to
> >sys.stderr. Unfortunately, this makes it difficult to pipe the usage
> >output to a program such as more(1) (without redirecting stderr to
> >stdout).
>
> that's standard programming. Feature, not bug.
'vim --help' spits its usage output to stdout, as does 'python -h'.
I can understand errors being printed to syserr (duh), but usage
information is more consumer grade, I think.
--
Jon Parise (jon@csh.rit.edu) :: http://www.csh.rit.edu/~jon/