[PATCH] -h output note addition: Testing of configuration can lead to a correction of path/file permissions

Jörg Kost jk at ip-clear.de
Fri Jan 12 08:59:37 UTC 2018


Hi Maxim,

still feel, that the -t switch behavior might be not so good documented. 
In some border cases this might not be the intention of running a test.

Currently it will log this things to the error file only on failure, but 
I am thinking of a more general approach -> always log?

Regards

Jörg


On 10 Jan 2018, at 17:39, Maxim Dounin wrote:

> Hello!
>
> On Wed, Jan 10, 2018 at 04:09:11PM +0100, Jörg Kost wrote:
>
> I don't think this belongs to the "nginx -h" output.  The "nginx
> -h" purpose is to provide short and readable description on what
> each option does, and "test configuration and exit" is a good
> enough description.
>
> What "test configuration" implies and which side-effects it may
> have is a completely different question, and trying to answer it
> here will certainly hurt readability.  Also note that the
> description you've suggested is certainly incomplete - for
> example, testing configuration also creates various files and
> directories.
>
> -- 
> Maxim Dounin
> http://mdounin.ru/
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel


More information about the nginx-devel mailing list