On Mon, Jun 18, 2001 at 03:06:40PM -0500, Karl Fogel wrote:
> Ben Collins-Sussman <sussman@collab.net> writes:
> > > or whatever option the client will accept, will goto STDOUT? The
> > > client for cvs prints the data for --help and --help-options to
> > > STDERR.
> >
> > I think right now the client prints everything to STDOUT. Is STDERR
> > better?
>
> I think you're right about CVS, but I've never understood the
> justification. Executing "svn --help" is a valid command, the
> successful result of which is to print a help message. Why should
> this be considered an error?
>
> I can see it going to stderr in the case where a help message is
> printed out because the user invoked svn incorrectly, and svn is
> trying to help the user come up with a valid command line (though even
> there, going to stderr instead of stdout seems of questionable
> real-world usefulness). But not when the user ran "svn --help"
> explicitly.
exactly,
svn --nosuchcommand -> STDERR
svn --help -> STDOUT
> -K
ms-
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:32 2006