From: Emil Engler Date: Sat, 3 Oct 2020 07:13:34 +0000 (+0200) Subject: --help: move two options from the misc category X-Git-Tag: curl-7_73_0~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=639c6bfcfa53248fb606f7357693710dc076593a;p=thirdparty%2Fcurl.git --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 --- diff --git a/docs/cmdline-opts/delegation.d b/docs/cmdline-opts/delegation.d index 64b9f7500b..fa2795f964 100644 --- a/docs/cmdline-opts/delegation.d +++ b/docs/cmdline-opts/delegation.d @@ -2,7 +2,7 @@ Long: delegation Arg: 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 2ab9f3f48e..b4e2a17db1 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 4955a52c37..c7af101e2c 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 ", "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},