comparison src/core/nginx.c @ 5701:1209b8a7b077

Configure: the --build= option. If set, its value is output in "nginx -v" and in the error log.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 20 May 2014 16:10:07 +0400
parents 314c3d7cc3a5
children 457ec43dd8d5
comparison
equal deleted inserted replaced
5700:5e892d40e5cc 5701:1209b8a7b077
215 if (ngx_get_options(argc, argv) != NGX_OK) { 215 if (ngx_get_options(argc, argv) != NGX_OK) {
216 return 1; 216 return 1;
217 } 217 }
218 218
219 if (ngx_show_version) { 219 if (ngx_show_version) {
220 ngx_write_stderr("nginx version: " NGINX_VER NGX_LINEFEED); 220 ngx_write_stderr("nginx version: " NGINX_VER_BUILD NGX_LINEFEED);
221 221
222 if (ngx_show_help) { 222 if (ngx_show_help) {
223 ngx_write_stderr( 223 ngx_write_stderr(
224 "Usage: nginx [-?hvVtq] [-s signal] [-c filename] " 224 "Usage: nginx [-?hvVtq] [-s signal] [-c filename] "
225 "[-p prefix] [-g directives]" NGX_LINEFEED 225 "[-p prefix] [-g directives]" NGX_LINEFEED