Mathias Weinert <mathias.weinert@gfa-net.de> writes:
> I am wondering if the following is intended:
>
> $ svn info -m ""
> Subcommand 'info' doesn't accept option '-m [--message] arg'
> Type 'svn help info' for usage.
>
> $ svn info -m "" --help
> Subcommand 'help' doesn't accept option '-m [--message] arg'
> Type 'svn help help' for usage.
>
> IMHO the second command should result in something like
> "Option 'help' mustn't be combined with other options"
>
> BTW, in the following, a bit different, situation the message
> seems to be okay:
>
> $ svn help info -m " "
> Subcommand 'help' doesn't accept option '-m [--message] arg'
> Type 'svn help help' for usage.
No, I think these are all unintended, accidental consequences of the
way our help system is implemented. (Since help is both a subcommand
and an option, though, we'd want to be careful about how we word
suggestions to the user.)
I'm not sure this is worth fixing, but if you think it is, it
shouldn't be too hard to make a patch...
-Karl
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 22 08:21:12 2006