haproxy-clientip.d: document the arg

The arg keyword was missing and therefore not present in the man page.

Closes #12611
This commit is contained in:
Daniel Stenberg 2023-12-30 23:19:37 +01:00
Родитель ae75db3527
Коммит d16d18cf64
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 5CC908FDB71E12C2
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -1,6 +1,7 @@
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl SPDX-License-Identifier: curl
Long: haproxy-clientip Long: haproxy-clientip
Arg: <IP address>
Help: Sets client IP in HAProxy PROXY protocol v1 header Help: Sets client IP in HAProxy PROXY protocol v1 header
Protocols: HTTP Protocols: HTTP
Added: 8.2.0 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. 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. 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.