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

Re: Subcommand 'help' doesn't accept option '-r [--revision]

From: anatoly techtonik <techtonik_at_gmail.com>
Date: Wed, 19 Nov 2014 15:45:05 +0300

On Wed, Nov 19, 2014 at 2:45 PM, Stefan Sperling <stsp_at_elego.de> wrote:
> On Wed, Nov 19, 2014 at 02:15:20PM +0300, anatoly techtonik wrote:
>> Hi,
>>
>> I thought you might be interested to study this usability fail:
>>
>> >svn log -r 3901 -h
>> Subcommand 'help' doesn't accept option '-r [--revision] ARG'
>> Type 'svn help help' for usage.
>>
>> --
>> anatoly t.
>
> To explain the problem:
> The way -h works right now is that it overrides the subcommand to 'help'.
> This happens before any non-option arguments ('log' in your case)
> are evaluated. So the code path for the 'svn log' subcommand is never entered.
> The error message is the same as with 'svn help -r'.
>
> Perhaps the implementation could be changed to avoid this issue.
> Could you please file an issue?
> See http://subversion.apache.org/reporting-issues.html

Yet another registration. Sigh.. Is there a way to report bug by email?

-- 
anatoly t.
Received on 2014-11-19 13:46:42 CET

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