[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: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 19 Nov 2014 12:45:56 +0100

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.
Received on 2014-11-19 12:46:34 CET

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

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