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

Re: Issue #402

From: <kfogel_at_collab.net>
Date: 2001-07-24 19:10:46 CEST

Christopher Conrad <cconrad@valinux.com> writes:
> I'm new to subversion and thought I'd work on one of the bite sized tasks to
> get my feet wet with the code. I basically have a patch done for issue
> 402. Right now
>
> svn --no-such-option -> stderr, non-zero exit code
> svn --help -> stdout, zero exit code
>
> How should
> svn help
> work? Technically, it's an error because help requires the command you're
> requesting help for; but what does everyone else think?

Thanks, Chris!

My thought is that "svn help" is not an error; after all, it gives you
help either way. If you don't give a command, "help" gives you help
on itself. If you do, it gives you help on that command.

In general, I don't think we should exit with failure status unless
there's something actually wrong; here, nothing is wrong imho.

-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:33 2006

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