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

Thanks.

Reply via email to