Reorganize the output to "svnserve --help".
svnserve has various modes of operation, exactly one of which must be
selected: -d, -i, -t, -X, and (on Windows) --service. This makes the
output of "svnserve --help" reflect this better. Specifically:
- Make sure all of the mode descriptions say "foo mode".
- Consistently put "[mode: foo]" after all the options that only
matter for certain modes.
- Sort the options list like:
- modes
- options that apply to all modes
- options that apply to specific modes
- help/version
- Capitalize Windows; spell out Service Control Manager.
- In the "usage" line, list the mode options.
Also, fix the "you must specify a mode" error message to include
--service if available.
* subversion/svnserve/main.c
(svnserve__options): Reorganize.
(help): Make it explicit that a mode argument is required.
(main): Fix error message to include --service on Windows.
git-svn-id: http://svn.collab.net/repos/svn/trunk@29730 612f8ebc-c883-4be0-9ee0-a4e9ef946e3a