prox/preproxy.md: document argument within <brackets>

... as the argument is mandatory and we use that symbol for all other
options.

Closes #16883
This commit is contained in:
Daniel Stenberg 2025-03-31 13:17:22 +02:00
parent fb15a986c0
commit b4dc529fc4
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: preproxy
Arg: [protocol://]host[:port]
Arg: <[protocol://]host[:port]>
Help: Use this proxy first
Added: 7.52.0
Category: proxy

View file

@ -3,7 +3,7 @@ c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: proxy
Short: x
Arg: [protocol://]host[:port]
Arg: <[protocol://]host[:port]>
Help: Use this proxy
Category: proxy
Added: 4.0

View file

@ -475,7 +475,7 @@ const struct helptxt helptext[] = {
{" --post303",
"Do not switch to GET after a 303 redirect",
CURLHELP_HTTP | CURLHELP_POST},
{" --preproxy [protocol://]host[:port]",
{" --preproxy <[protocol://]host[:port]>",
"Use this proxy first",
CURLHELP_PROXY},
{"-#, --progress-bar",
@ -490,7 +490,7 @@ const struct helptxt helptext[] = {
{" --proto-redir <protocols>",
"Enable/disable PROTOCOLS on redirect",
CURLHELP_CONNECTION | CURLHELP_CURL},
{"-x, --proxy [protocol://]host[:port]",
{"-x, --proxy <[protocol://]host[:port]>",
"Use this proxy",
CURLHELP_PROXY},
{" --proxy-anyauth",