httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodent of Unusual Size <Ken.C...@Golux.Com>
Subject Re: cvs commit: apachen STATUS
Date Thu, 08 Jan 1998 20:25:28 GMT
Doug MacEachern wrote:
> 
> -    fprintf(stderr, "Usage: %s [-d directory] [-f file] [-v] [-h] [-l]\n", bin);
> +    fprintf(stderr, "Usage: %s [-d directory] [-f file] [-C|-c command] [-v] [-h] [-l]\n",
bin);

Erm, I find "[-C|-c command]" ambiguous.  It looks like you can only use one
of "-C" or "-c command" on the command line.  I would prefer something more
like "[-C \"directive\"] [-c \"directive\"]".  I have no real opinion about
whether the quotes should be included or not (\"directive\" or just
directive).
Actually, considering the multiplatform issues, I'd prefer to make them overt
rather than assuming the user knows to quote parameters that contain spaces
or other special characters.

> +    fprintf(stderr, "-C command : process command before reading config files\n");
> +    fprintf(stderr, "-c command : process command after reading config files\n");

And as someone else mentioned, I think this should be "directive" rather than
command; the latter sounds like you can use a shell command here.

What happens if you use something like:

	# httpd -C "<VirtualHost foo>" -c "</VirtualHost>" -d /apache

? <g>

#ken	P-)}

Mime
View raw message