Re: Subcommand 'help' doesn't accept option '-r [--revision]
On Wed, Nov 19, 2014 at 02:15:20PM +0300, anatoly techtonik wrote:
> 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?
Received on 2014-11-19 12:46:34 CET
This is an archived mail posted to the Subversion Dev