summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author(GalaxyMaster) <galaxy4public@users.noreply.github.com>2017-01-10 18:55:50 +1100
committerMartin Pitt <martin.pitt@ubuntu.com>2017-01-10 08:55:50 +0100
commit23d0fff78d78adedb525f3ec5856b8cd126265c2 (patch)
treee2ce9335b48884d2fb8177947c47bbfcb838485c
parent5acc0c86e11c5f903189395e47caa178b66509a7 (diff)
socket-proxyd: fix --connections-max help message and docs (#5044)
-rw-r--r--man/systemd-socket-proxyd.xml2
-rw-r--r--src/socket-proxy/socket-proxyd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/man/systemd-socket-proxyd.xml b/man/systemd-socket-proxyd.xml
index 74d9e1c124..a86b13daa8 100644
--- a/man/systemd-socket-proxyd.xml
+++ b/man/systemd-socket-proxyd.xml
@@ -86,7 +86,7 @@
<xi:include href="standard-options.xml" xpointer="help" />
<xi:include href="standard-options.xml" xpointer="version" />
<varlistentry>
- <term><option>--max-connections=</option></term>
+ <term><option>--connections-max=</option></term>
<term><option>-c</option></term>
<listitem><para>Sets the maximum number of simultaneous connections, defaults to 256.
diff --git a/src/socket-proxy/socket-proxyd.c b/src/socket-proxy/socket-proxyd.c
index b810891d7d..1b99b7bc82 100644
--- a/src/socket-proxy/socket-proxyd.c
+++ b/src/socket-proxy/socket-proxyd.c
@@ -564,7 +564,7 @@ static void help(void) {
printf("%1$s [HOST:PORT]\n"
"%1$s [SOCKET]\n\n"
"Bidirectionally proxy local sockets to another (possibly remote) socket.\n\n"
- " -c --max-connections= Set the maximum number of connections to be accepted\n"
+ " -c --connections-max= Set the maximum number of connections to be accepted\n"
" -h --help Show this help\n"
" --version Show package version\n",
program_invocation_short_name);