summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Engler <me@emilengler.com>2020-10-03 09:13:34 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-10-03 22:59:50 +0200
commit639c6bfcfa53248fb606f7357693710dc076593a (patch)
treed4af62aff902b7a9314b544f847d9ac22479dc9b
parent2ead0ca4823da5fb5392330410fb26f5fb97148d (diff)
downloadcurl-639c6bfcfa53248fb606f7357693710dc076593a.tar.gz
--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 aa8777f63febc Closes #6038
-rw-r--r--docs/cmdline-opts/delegation.d2
-rw-r--r--docs/cmdline-opts/suppress-connect-headers.d2
-rw-r--r--src/tool_help.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/docs/cmdline-opts/delegation.d b/docs/cmdline-opts/delegation.d
index 64b9f7500..fa2795f96 100644
--- a/docs/cmdline-opts/delegation.d
+++ b/docs/cmdline-opts/delegation.d
@@ -2,7 +2,7 @@ Long: delegation
Arg: <LEVEL>
Help: GSS-API delegation permission
Protocols: GSS/kerberos
-Category: misc
+Category: auth
---
Set LEVEL to tell the server what it is allowed to delegate when it
comes to user credentials.
diff --git a/docs/cmdline-opts/suppress-connect-headers.d b/docs/cmdline-opts/suppress-connect-headers.d
index 2ab9f3f48..b4e2a17db 100644
--- a/docs/cmdline-opts/suppress-connect-headers.d
+++ b/docs/cmdline-opts/suppress-connect-headers.d
@@ -1,7 +1,7 @@
Long: suppress-connect-headers
Help: Suppress proxy CONNECT response headers
See-also: dump-header include proxytunnel
-Category: misc
+Category: proxy
---
When --proxytunnel is used and a CONNECT request is made don't output proxy
CONNECT response headers. This option is meant to be used with --dump-header or
diff --git a/src/tool_help.c b/src/tool_help.c
index 4955a52c3..c7af101e2 100644
--- a/src/tool_help.c
+++ b/src/tool_help.c
@@ -207,7 +207,7 @@ static const struct helptxt helptext[] = {
CURLHELP_HTTP | CURLHELP_POST | CURLHELP_UPLOAD},
{" --delegation <LEVEL>",
"GSS-API delegation permission",
- CURLHELP_MISC},
+ CURLHELP_AUTH},
{" --digest",
"Use HTTP Digest Authentication",
CURLHELP_PROXY | CURLHELP_AUTH | CURLHELP_HTTP},
@@ -732,7 +732,7 @@ static const struct helptxt helptext[] = {
CURLHELP_VERBOSE},
{" --suppress-connect-headers",
"Suppress proxy CONNECT response headers",
- CURLHELP_MISC},
+ CURLHELP_PROXY},
{" --tcp-fastopen",
"Use TCP Fast Open",
CURLHELP_CONNECTION},