]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
socket-proxyd: fix --connections-max help message and docs (#5044)
author(GalaxyMaster) <galaxy4public@users.noreply.github.com>
Tue, 10 Jan 2017 07:55:50 +0000 (18:55 +1100)
committerMartin Pitt <martin.pitt@ubuntu.com>
Tue, 10 Jan 2017 07:55:50 +0000 (08:55 +0100)
man/systemd-socket-proxyd.xml
src/socket-proxy/socket-proxyd.c

index 74d9e1c124c2b57a1cc6cba10b7aebe895d96526..a86b13daa87b50051faa61d9d1642e2b188781e8 100644 (file)
@@ -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.
index b810891d7d24bdbd324daa2a58e2edabb7d653b6..1b99b7bc8255f65d56da9a635debc9df1906f4d2 100644 (file)
@@ -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);