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

Re: Enhancement: "--version" option hard to find

From: <kfogel_at_collab.net>
Date: 2004-05-24 17:32:56 CEST

"Walters, I (Iestyn) " <I.Walters@rl.ac.uk> writes:
> Hmmmm, what version of svn am I using? (1.0.3 actually.)
>
> "svn help" didn't reveal any useful information. The book
> mentions "--version." Going back to the executable, there does
> seem to be some help text inside mentioning this option, but how
> do I get svn to print it out?. Googling & poking around the
> source, I find the information available under "svn help help."
>
> 1. This is wrong -- "svn help --version" produces the same result
> as "svn help help". "svn --version" is required.
>
> 2. It's pretty hard to find the option "--version" via svn help.
>
> 3. Things like "svn info -v" print an error ("subcommand 'info'
> doesn't accept option '-v [--verbose]'), but "svn info
> --version" simply prints the help for svn info.

I think the general problem is that we don't have a way to list all
options. The --version option is one of the few that works with no
subcommand, too.

CC'ing dev@ for thoughts on how to fix. Maybe 'svn help' should print
out one last line, saying

   "Run 'svn help --options' for a complete list of options and which
   subcommands they work with."

...and then we implement that?

> Thanks for the work guys, I can't express how nice it is to be
> free of cvs.

Glad to hear it!

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 24 18:52:11 2004

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

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