From: Daniel Stenberg Date: Sat, 30 Dec 2023 22:19:37 +0000 (+0100) Subject: haproxy-clientip.d: document the arg X-Git-Tag: curl-8_6_0~161 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d16d18cf641d412f40269e1c8469f84201673204;p=thirdparty%2Fcurl.git haproxy-clientip.d: document the arg The arg keyword was missing and therefore not present in the man page. Closes #12611 --- diff --git a/docs/cmdline-opts/haproxy-clientip.d b/docs/cmdline-opts/haproxy-clientip.d index 25cb7e6236..9958849412 100644 --- a/docs/cmdline-opts/haproxy-clientip.d +++ b/docs/cmdline-opts/haproxy-clientip.d @@ -1,6 +1,7 @@ c: Copyright (C) Daniel Stenberg, , et al. SPDX-License-Identifier: curl Long: haproxy-clientip +Arg: Help: Sets client IP in HAProxy PROXY protocol v1 header Protocols: HTTP Added: 8.2.0 @@ -24,6 +25,3 @@ of consecutive zeroes. The total number of decoded bits must exactly be 128. Otherwise, any string can be accepted for the client IP and get sent. It replaces --haproxy-protocol if used, it is not necessary to specify both flags. - -This option is primarily useful when sending test requests to -verify a service is working as intended.