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

Patch to add a --verbose option.

From: Mo DeJong <supermo_at_bayarea.net>
Date: 2001-09-13 10:51:03 CEST

Hi all.

After poking around in the and testing out the apr_getopt_long function, I have come
to the conclusion that it is not currently possible to implement the --verbose option
as described in the clients/cmdline/README file.

-V --verbose [ KEY ] [quiet|progress|verbose|trace]
                                 Determines the level of spewage that the
                                 client gives (progress is the default,
                                 --verbose without arg defaults to verbose)

-q --quiet alias for --verbose=quiet

If the user issues a command like `svn --verbose update`, the "update" argument
will be seen as an argument to the --verbose option. Thing is, I don't think we
really need to pass an argument here. The default can be the "progress" level.
If the user pass -q, it will be quiet. If the user passes -V, it will be verbose. The
careful reader will note that I skipped the "trace" verbosity level. The 'T' option
is not currently used but it is mentioned in the README so I figured I would
just leave that for later. The patch is attached.

cheers
Mo DeJong

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Sat Oct 21 14:36:41 2006

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