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

"Leeuw van der, Tim" <[email protected]>
Newsgroups gmane.mail.eyebrowse.user,gmane.comp.version-control.subversion.devel
Message-ID <BF88DF69D9E2884B9BE5160DB2B97A8544B0C4__34459.3953610913$1106914034$gmane$org@nlshl-exch1.eu.uis.unisys.com>
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:[email protected]]
Sent: Fri 1/28/2005 11:21 AM
To: Martin A. Brooks; Dassi, Nasser
Cc: [email protected]; [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.