socket-proxyd: fix --connections-max help message and docs (#5044)

This commit is contained in:
(GalaxyMaster) 2017-01-10 18:55:50 +11:00 committed by Martin Pitt
parent 5acc0c86e1
commit 23d0fff78d
2 changed files with 2 additions and 2 deletions

View 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.

View 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);