]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
--help: move two options from the misc category
authorEmil Engler <me@emilengler.com>
Sat, 3 Oct 2020 07:13:34 +0000 (09:13 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 3 Oct 2020 20:59:50 +0000 (22:59 +0200)
The cmdline opts delegation and suppress-connect-headers
fit better into auth and proxy rather than misc.

Follow-up to aa8777f63febc
Closes #6038

docs/cmdline-opts/delegation.d
docs/cmdline-opts/suppress-connect-headers.d
src/tool_help.c

index 64b9f7500b462c7d48616dc94dec603563d7ebc4..fa2795f96475324ddf11a36b889c56b7bdc301fc 100644 (file)
@@ -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.
index 2ab9f3f48ea341062a8b5f73d413cc07dface35d..b4e2a17db12d5ebb7ecec2372b94b40dfca85c0b 100644 (file)
@@ -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
index 4955a52c376b7c50ef276bb9b6fb91872d0c732b..c7af101e2cbc8047ff2c239d116db59c57f2cff1 100644 (file)
@@ -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},