[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: client help messages

From: Karl Fogel <kfogel_at_collab.net>
Date: 2001-06-18 22:06:40 CEST

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.

-K

---------------------------------------------------------------------
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

This is an archived mail posted to the Subversion Dev mailing list.