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

Re: [PATCH] better usage() for svnserve

From: Colin Watson <cjwatson_at_flatline.org.uk>
Date: 2003-07-29 03:53:59 CEST

On Mon, Jul 28, 2003 at 02:06:54PM -0400, pll@lanminds.com wrote:
> static void usage(const char *progname)
> {
> + char *opt_d = "\t-d\t\tRun as a daemon\n";
> + char *opt_t = "\t-t\t\tRun in tunnel mode\n";
> + char *opt_X = "\t-X\t\tListen once and exit\n";
> + char *opt_r = "\t-r path\t\tRun with \"path\" set as file system root\n";
> + char *opt_R = "\t-R\t\tRun in read-only mode\n";
> + char *opt_T = "\t-T\t\tRun in handling mode\n";
> +

FWIW, the correct type for a literal string is 'const char *'.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 29 03:54:59 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.