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

[PATCH] Add --version to svnversion, svndumpfilter, and svnserve

From: Ben Reser <ben_at_reser.org>
Date: 2004-03-10 10:02:48 CET

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.
  (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
  (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
  (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.


Ben Reser <ben@reser.org>
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken

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

Received on Wed Mar 10 10:03:17 2004

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