From 93023acc6c2bae8e7eeaf83989f7efd07508cc8c Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 24 Nov 2014 14:16:48 +0900 Subject: [PATCH] nghttpx: Make --accesslog-format usage doc help2man friendly This is unfortunate but help2man behaves badly when there is indented lines in help messages in commnad-line args. We removed indentations to make help2man happy. --- src/shrpx.cc | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/src/shrpx.cc b/src/shrpx.cc index 673cfbff..c45a2881 100644 --- a/src/shrpx.cc +++ b/src/shrpx.cc @@ -1129,21 +1129,19 @@ Logging: Specify format string for access log. The default format is combined format. The following variables are available: - $remote_addr: client IP address - $time_local: local time in Common Log format - $time_iso8601: local time in ISO 8601 format - $request: HTTP request line - $status: HTTP response status code. - $body_bytes_sent: the number of bytes sent - to client as response body - $http_: value of HTTP request header - where '_' in is replaced with - '-'. - $remote_port: client port - $server_port: server port - $request_time: request processing time in - seconds with milliseconds - resolution. + $remote_addr: client IP address. + $time_local: local time in Common Log format. + $time_iso8601: local time in ISO 8601 format. + $request: HTTP request line. + $status: HTTP response status code. + $body_bytes_sent: the number of bytes sent to + client as response body. + $http_: value of HTTP request header + where '_' in is replaced with '-'. + $remote_port: client port. + $server_port: server port. + $request_time: request processing time in + seconds with milliseconds resolution. Default: )" << DEFAULT_ACCESSLOG_FORMAT << R"( --errorlog-file=