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

Re: Here's the way I suggest the options really work

From: Greg Stein <gstein_at_lyra.org>
Date: 2000-10-15 01:02:23 CEST

FYI... yes: repositories will be a URL. For local operation, we could also
use a path or a file: URL:

    http://host/path/repos -- use libsvn_ra_dav
    /path/repos -- use libsvn_ra_local
    relative/repos -- use libsvn_ra_local
    file://path/repos -- use libsvn_ra_local(*)

(*) I'm not sure whether it is //path or ///path ... *shrug* we should
accept both forms as an absolute reference (no relative file URLs)

I will also warn you against using metacharacters as (short) option names.
Bash is very good about metacharacters, but others aren't. I think you'll
also have problems with -> and -< on any shell. And don't say that people
should quote them :-) IMO, use only letters and avoid metacharacters. If
somebody types -?, then the option won't be recognized and the help will be
shown; otherwise, help would simply be -h or --help.

Cheers,
-g

On Sat, Oct 14, 2000 at 12:53:15PM -0700, Bruce Korb wrote:
>
> Hi,
>
> The attached file is a ia32 Linux executable.
> The "global" svn options are processed and then each command
> specific options are processed. You get help with:
>
> svn --help
>
> to get command specific help, just use:
>
> svn <command> --help
>
> This should be familiar.....
>
> > svn - Subversion - Ver. Sat Oct 14 11:47:26 PDT 2000
> > USAGE: svn [ -<flag> [<val>] | --<name>[{=| }<val>] ]... \
> > <command> [ <cmd-specific-opts> ... ] [ <cmd-args> ]
> > Flg Arg Option-Name Description
> > -d YES repository SVN repository identifier (URL?)
> > -v opt version Output version information and exit
> > -? no help Display usage information and exit
> > -! no more-help Extended usage information passed thru pager
> > -> opt save-opts Save the option state to an rc file
> > -< YES load-opts Load options from an rc file
> > - disabled as --no-load-opts
> > - may appear without limit
> >
> > Options may be specified by doubled hyphens and their name
> > or by a single hyphen and the flag character/option value.
> >
> > WHERE: ``<command>'' may be any of:
> >
> > checkout update add delete commit
> >
> > or their aliases. For specific help on one of these commands,
> > use ``--help'' as a command specific option.
> >
> > The following option preset mechanisms are supported:
> > - reading file $$/../share/svn/svnrc/.svnrc
> > - reading file $HOME/.svnrc
> > - reading file ./.svnrc
> > - examining environment variables named SVN_*

-- 
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:11 2006

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.