]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
haproxy-clientip.d: document the arg
authorDaniel Stenberg <daniel@haxx.se>
Sat, 30 Dec 2023 22:19:37 +0000 (23:19 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 30 Dec 2023 23:35:30 +0000 (00:35 +0100)
The arg keyword was missing and therefore not present in the man page.

Closes #12611

docs/cmdline-opts/haproxy-clientip.d

index 25cb7e623610c4bba3e66b88dccb27ffd1f2ba8b..9958849412b9756c2d99a50cd456dac9c299aa70 100644 (file)
@@ -1,6 +1,7 @@
 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
 SPDX-License-Identifier: curl
 Long: haproxy-clientip
+Arg: <IP address>
 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.