--On Wednesday, March 10, 2004 1:02 AM -0800 Ben Reser <ben@reser.org> wrote:
> [[[
> Add --version option to svndumpfilter, svnserve, and svnversion.
> Also minor formating changes to svnversion's usage output to be
> more consistent with other commands.
>
> Patch by Ben Reser <ben@reser.org>
>
> * subversion/svndumpfilter/main.c
> Add svndumpfilter__quiet to the option enum.
This should be svndumpfilter__version. (I think Sussman's already pointed
this out in IRC.)
> (options_table): Add version option.
> (cmd_table): Add version option to help command.
> (svndumpfilter_opt_state): Add version boolean.
> (subcommand_help): Support asking for the version output.
> (main): Set help and version option states for version option.
>
> * subversion/svnserve/main.c
> Add SVNSERVE_OPT_VERSION constant.
> (svnserve__options): Add version option.
> (version): New function to wrap version output.
> (main): Call version when --version is passed.
>
> * subversion/svnversion/main.c
> Add include for svn_opt.h
> Add SVNVERSION_OPT_VERSION constant.
> (version): New funciton to wrap version output.
> (usage): Match output of other commands more closely and use
> svn_opt_format_option. Add a pool paramter.
> (main) Add version option. usage needs a pool paramter now.
>
> ]]]
Anyhoo, looks fine here. +1. -- justin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 10 18:30:47 2004