]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: doc: update the manpage and usage message about -S
authorWilliam Lallemand <wlallemand@haproxy.org>
Thu, 13 Jun 2019 15:03:37 +0000 (17:03 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 13 Jun 2019 15:09:27 +0000 (17:09 +0200)
Add -S in the manpage, and update the usage message.

Should be backported to 1.9.

doc/haproxy.1
src/haproxy.c

index f8749865fa1f63518531a0e6ab3dd0b1439dc80d..7554f9d9f80861a5e1cbf40e6534a38de455e4b8 100644 (file)
@@ -173,6 +173,12 @@ Attempt to connect to the unix socket, and retrieve all the listening sockets
 from the old process. Those sockets will then be used if possible instead of
 binding new ones.
 
+.TP
+\fB\-S <bind>[,<bind options>...]\fP
+In master-worker mode, create a master CLI. This CLI will enable access to the
+CLI of every worker. Useful for debugging, it's a convenient way of accessing a
+leaving process.
+
 .SH LOGGING
 Since HAProxy can run inside a chroot, it cannot reliably access /dev/log.
 For this reason, it uses the UDP protocol to send its logs to the server,
index 0c1d5a2636dfb201713fac83030869751eaeff11..9821765a4599a5117582361b869210571c9b1ff3 100644 (file)
@@ -527,7 +527,7 @@ static void usage(char *name)
                "        -dV disables SSL verify on servers side\n"
                "        -sf/-st [pid ]* finishes/terminates old pids.\n"
                "        -x <unix_socket> get listening sockets from a unix socket\n"
-               "        -S <unix_socket>[,<bind options>...] new stats socket for the master\n"
+               "        -S <bind>[,<bind options>...] new master CLI\n"
                "\n",
                name, cfg_maxpconn);
        exit(1);