[[[
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
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.
]]]
--
Ben Reser <ben@reser.org>
http://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