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

RE: Re: reposted feature request: assume 'help' as the argument when none is given and at least one is required

From: Leeuw van der, Tim <tim.leeuwvander_at_nl.unisys.com>
Date: 2005-01-28 13:03:03 CET

If I type 'svn mkdir' then I get the same output as if I type 'svn help mkdir'... So isn't svn already assuming 'help' when arguments are required, but none given?

(same for svn merge, but didn't bother to check all commands)

So it would rather seem that typing just 'svn' is the exception as it only tells you to type 'svn help' for help (and I find that absolutely acceptable behaviour).

So I don't know the original posters original question, but I don't see the problem here? Doesn't SVN already do what he wanted?

--Tim

-----Original Message-----
From: Max Bowsher [mailto:maxb@ukf.net]
Sent: Fri 1/28/2005 11:21 AM
To: Martin A. Brooks; Dassi, Nasser
Cc: users@subversion.tigris.org; dev@subversion.tigris.org
Subject: Re: reposted feature request: assume 'help' as the argument when none is given and at least one is required
 
Martin A. Brooks wrote:
> Dassi, Nasser wrote:
>
>> If "svn" defaulted to "svn help" then the same logic would assume (as a
>> user) that typing "svn up" would display the HELP for the "up" command.
>>
>>
>
> You didn't read my email properly. I said:
>
> "How about assuming that, when an svn command that takes arguments is
> given none, 'help' is implied as the argument.
>
> So 'svn' with no arguments would become 'svn help' however 'svn up'
> which is happy with no arguments doesn't."

It doesn't matter, it *still* contravenes the "Do not display usage on
error"
 philosophy.

Your proposed change goes against the dominant design philosophy of the
Subversion CLI - a philosophy that I for one have no interest whatsoever in
changing.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 28 13:06:01 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.