Skip to content

Commit 639c6bf

Browse files
cvenglerbagder
authored andcommitted
--help: move two options from the misc category
The cmdline opts delegation and suppress-connect-headers fit better into auth and proxy rather than misc. Follow-up to aa8777f Closes curl#6038
1 parent 2ead0ca commit 639c6bf

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/cmdline-opts/delegation.d

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Long: delegation
22
Arg: <LEVEL>
33
Help: GSS-API delegation permission
44
Protocols: GSS/kerberos
5-
Category: misc
5+
Category: auth
66
---
77
Set LEVEL to tell the server what it is allowed to delegate when it
88
comes to user credentials.

docs/cmdline-opts/suppress-connect-headers.d

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Long: suppress-connect-headers
22
Help: Suppress proxy CONNECT response headers
33
See-also: dump-header include proxytunnel
4-
Category: misc
4+
Category: proxy
55
---
66
When --proxytunnel is used and a CONNECT request is made don't output proxy
77
CONNECT response headers. This option is meant to be used with --dump-header or

src/tool_help.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ static const struct helptxt helptext[] = {
207207
CURLHELP_HTTP | CURLHELP_POST | CURLHELP_UPLOAD},
208208
{" --delegation <LEVEL>",
209209
"GSS-API delegation permission",
210-
CURLHELP_MISC},
210+
CURLHELP_AUTH},
211211
{" --digest",
212212
"Use HTTP Digest Authentication",
213213
CURLHELP_PROXY | CURLHELP_AUTH | CURLHELP_HTTP},
@@ -732,7 +732,7 @@ static const struct helptxt helptext[] = {
732732
CURLHELP_VERBOSE},
733733
{" --suppress-connect-headers",
734734
"Suppress proxy CONNECT response headers",
735-
CURLHELP_MISC},
735+
CURLHELP_PROXY},
736736
{" --tcp-fastopen",
737737
"Use TCP Fast Open",
738738
CURLHELP_CONNECTION},

0 commit comments

Comments
 (0)