]> git.ipfire.org Git - thirdparty/curl.git/commit
cmdline-opts: category cleanup 14101/head
authorDaniel Stenberg <daniel@haxx.se>
Thu, 4 Jul 2024 11:38:18 +0000 (13:38 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 5 Jul 2024 09:05:50 +0000 (11:05 +0200)
commit2abfc759b98852cd916ebfb6207d296762b1171a
tree1e86ac71c0dbf2846b72061b3ee9e7345da525cc
parent18c61aa0360cc157fffd74c5a068ece3dac36c96
cmdline-opts: category cleanup

Option cleanups:

 --get is not upload
 --form* are post
 - added several options into ldap, smtp, imap and pop3
 - shortened the category descriptions in the list

category curl fixes:

 --create-dirs removed from 'curl'
 --ftp-create-dirs removed from 'curl'
 --netrc moved to 'auth' from 'curl'
 --netrc-file moved to 'auth' from 'curl'
 --netrc-optional moved to 'auth' from 'curl'
 --no-buffer moved to 'output' from 'curl'
 --no-clobber removed from 'curl'
 --output removed from 'curl'
 --output-dir removed from 'curl'
 --remove-on-error removed from 'curl'

Add a "global" category:

- Made all "global" options set this category

Add a "deprecated" category:

- Moved the deprecated options to it (maybe they should not be in any
 category long term)

Add a 'timeout' category

- Put a number of appropriate options in it

Add an 'ldap' category

- Put the LDAP related option in there

Remove categories "ECH" and "ipfs"

- They should not be categories. Had only one single option each.

Remove category "misc"

- It should not be a category as it is impossible to know when to browse
  it.

--use-ascii moved to ftp and output
--xattr moved to output
--service-name moved to auth

Managen fixes:

- errors if an option is given a category name that is not already setup
  for in code

- verifies that options set `scope: global` also is put in category
  `globalĀ“

Closes #14101
64 files changed:
docs/cmdline-opts/Makefile.am
docs/cmdline-opts/connect-timeout.md
docs/cmdline-opts/connect-to.md
docs/cmdline-opts/create-dirs.md
docs/cmdline-opts/ech.md
docs/cmdline-opts/egd-file.md
docs/cmdline-opts/expect100-timeout.md
docs/cmdline-opts/fail-early.md
docs/cmdline-opts/form-escape.md
docs/cmdline-opts/form-string.md
docs/cmdline-opts/form.md
docs/cmdline-opts/ftp-create-dirs.md
docs/cmdline-opts/get.md
docs/cmdline-opts/happy-eyeballs-timeout-ms.md
docs/cmdline-opts/ipfs-gateway.md
docs/cmdline-opts/keepalive-time.md
docs/cmdline-opts/libcurl.md
docs/cmdline-opts/login-options.md
docs/cmdline-opts/max-time.md
docs/cmdline-opts/metalink.md
docs/cmdline-opts/netrc-file.md
docs/cmdline-opts/netrc-optional.md
docs/cmdline-opts/netrc.md
docs/cmdline-opts/no-buffer.md
docs/cmdline-opts/no-clobber.md
docs/cmdline-opts/ntlm-wb.md
docs/cmdline-opts/oauth2-bearer.md
docs/cmdline-opts/output-dir.md
docs/cmdline-opts/output.md
docs/cmdline-opts/parallel-immediate.md
docs/cmdline-opts/parallel-max.md
docs/cmdline-opts/parallel.md
docs/cmdline-opts/progress-bar.md
docs/cmdline-opts/random-file.md
docs/cmdline-opts/rate.md
docs/cmdline-opts/remove-on-error.md
docs/cmdline-opts/request.md
docs/cmdline-opts/retry-delay.md
docs/cmdline-opts/retry-max-time.md
docs/cmdline-opts/service-name.md
docs/cmdline-opts/show-error.md
docs/cmdline-opts/socks5.md
docs/cmdline-opts/speed-time.md
docs/cmdline-opts/ssl-reqd.md
docs/cmdline-opts/ssl.md
docs/cmdline-opts/stderr.md
docs/cmdline-opts/styled-output.md
docs/cmdline-opts/trace-ascii.md
docs/cmdline-opts/trace-config.md
docs/cmdline-opts/trace-ids.md
docs/cmdline-opts/trace-time.md
docs/cmdline-opts/trace.md
docs/cmdline-opts/use-ascii.md
docs/cmdline-opts/verbose.md
docs/cmdline-opts/xattr.md
scripts/managen
src/tool_help.c
src/tool_help.h
src/tool_listhelp.c
tests/data/test1462
tests/data/test1463
tests/data/test1464
tests/data/test1705
tests/data/test1706