DOC: add missing options to the manpage

Document -L, -v(v), -C, -dS and -dM, as they were missing from the manpage.

Signed-off-by: Apollon Oikonomopoulos <apoikos@gmail.com>
This commit is contained in:
Apollon Oikonomopoulos 2013-09-29 23:03:37 +03:00 committed by Willy Tarreau
parent 8cc16530c4
commit 6712bb7796

View File

@ -6,7 +6,7 @@ HAProxy \- fast and reliable http reverse proxy and load balancer
.SH SYNOPSIS .SH SYNOPSIS
haproxy \-f <configuration\ file> [\-n\ maxconn] [\-N\ maxconn] [\-d] [\-D] [\-q] [\-V] [\-c] [\-p\ <pidfile>] [\-s] [\-l] [\-dk] [\-ds] [\-de] [\-dp] [\-db] [\-m\ <megs>] [{\-sf|\-st}\ pidlist...] haproxy \-f <configuration\ file> [\-L\ <name>] [\-n\ maxconn] [\-N\ maxconn] [\-C\ <dir>] [\-v|\-vv] [\-d] [\-D] [\-q] [\-V] [\-c] [\-p\ <pidfile>] [\-s] [\-l] [\-dk] [\-ds] [\-de] [\-dp] [\-db] [\-dM[<byte>]] [\-m\ <megs>] [{\-sf|\-st}\ pidlist...]
.SH DESCRIPTION .SH DESCRIPTION
@ -36,6 +36,13 @@ instances without risking the system's stability.
\fB\-f <configuration file>\fP \fB\-f <configuration file>\fP
Specify configuration file path. Specify configuration file path.
.TP
\fB\-L <name>\fP
Set the local instance's peer name. Peers are defined in the \fBpeers\fP
configuration section and used for syncing stick tables between different
instances. If this option is not specified, the local hostname is used as peer
name.
.TP .TP
\fB\-n <maxconn>\fP \fB\-n <maxconn>\fP
Set the high limit for the total number of simultaneous connections. Set the high limit for the total number of simultaneous connections.
@ -44,6 +51,18 @@ Set the high limit for the total number of simultaneous connections.
\fB\-N <maxconn>\fP \fB\-N <maxconn>\fP
Set the high limit for the per-listener number of simultaneous connections. Set the high limit for the per-listener number of simultaneous connections.
.TP
\fB\-C <dir>\fP
Change directory to <\fIdir\fP> before loading any files.
.TP
\fB\-v\fP
Display HAProxy's version.
.TP
\fB\-vv\fP
Display HAProxy's version and all build options.
.TP .TP
\fB\-d\fP \fB\-d\fP
Start in foregreound with debugging mode enabled. Start in foregreound with debugging mode enabled.
@ -107,6 +126,10 @@ and some custom Linux 2.4 systems.
\fB\-dp\fP \fB\-dp\fP
Disables use of poll(). select() might be used instead. Disables use of poll(). select() might be used instead.
.TP
\fB\-dS\fP
Disables use of splice(), which is broken on older kernels.
.TP .TP
\fB\-db\fP \fB\-db\fP
Disables background mode (stays in foreground, useful for debugging). Disables background mode (stays in foreground, useful for debugging).
@ -115,6 +138,13 @@ disables daemon mode and multi-process mode. The service can then be
stopped by simply pressing Ctrl-C, without having to edit the config nor stopped by simply pressing Ctrl-C, without having to edit the config nor
run full debug. run full debug.
.TP
\fB\-dM[<byte>]\fP
Initializes all allocated memory areas with the given <\fIbyte\fP>. This makes
it easier to detect bugs resulting from uninitialized memory accesses, at the
expense of touching all allocated memory once. If <\fIbyte\fP> is not
specified, it defaults to 0x50 (ASCII 'P').
.TP .TP
\fB\-m <megs>\fP \fB\-m <megs>\fP
Enforce a memory usage limit to a maximum of <megs> megabytes. Enforce a memory usage limit to a maximum of <megs> megabytes.