Quellcode durchsuchen

docs/cmdline-opts: add copyright and license identifier to each file

gen.pl now insists on C: and SPDX-License-Identifier: fields to be
present in all files.

Closes #9002
Daniel Stenberg vor 1 Jahr
Ursprung
Commit
df45fd1794
100 geänderte Dateien mit 220 neuen und 0 gelöschten Zeilen
  1. 8 0
      docs/cmdline-opts/MANPAGE.md
  2. 2 0
      docs/cmdline-opts/abstract-unix-socket.d
  3. 2 0
      docs/cmdline-opts/alt-svc.d
  4. 2 0
      docs/cmdline-opts/anyauth.d
  5. 2 0
      docs/cmdline-opts/append.d
  6. 2 0
      docs/cmdline-opts/aws-sigv4.d
  7. 2 0
      docs/cmdline-opts/basic.d
  8. 2 0
      docs/cmdline-opts/cacert.d
  9. 2 0
      docs/cmdline-opts/capath.d
  10. 2 0
      docs/cmdline-opts/cert-status.d
  11. 2 0
      docs/cmdline-opts/cert-type.d
  12. 2 0
      docs/cmdline-opts/cert.d
  13. 2 0
      docs/cmdline-opts/ciphers.d
  14. 2 0
      docs/cmdline-opts/compressed-ssh.d
  15. 2 0
      docs/cmdline-opts/compressed.d
  16. 2 0
      docs/cmdline-opts/config.d
  17. 2 0
      docs/cmdline-opts/connect-timeout.d
  18. 2 0
      docs/cmdline-opts/connect-to.d
  19. 2 0
      docs/cmdline-opts/continue-at.d
  20. 2 0
      docs/cmdline-opts/cookie-jar.d
  21. 2 0
      docs/cmdline-opts/cookie.d
  22. 2 0
      docs/cmdline-opts/create-dirs.d
  23. 2 0
      docs/cmdline-opts/create-file-mode.d
  24. 2 0
      docs/cmdline-opts/crlf.d
  25. 2 0
      docs/cmdline-opts/crlfile.d
  26. 2 0
      docs/cmdline-opts/curves.d
  27. 2 0
      docs/cmdline-opts/data-ascii.d
  28. 2 0
      docs/cmdline-opts/data-binary.d
  29. 2 0
      docs/cmdline-opts/data-raw.d
  30. 2 0
      docs/cmdline-opts/data-urlencode.d
  31. 2 0
      docs/cmdline-opts/data.d
  32. 2 0
      docs/cmdline-opts/delegation.d
  33. 2 0
      docs/cmdline-opts/digest.d
  34. 2 0
      docs/cmdline-opts/disable-eprt.d
  35. 2 0
      docs/cmdline-opts/disable-epsv.d
  36. 2 0
      docs/cmdline-opts/disable.d
  37. 2 0
      docs/cmdline-opts/disallow-username-in-url.d
  38. 2 0
      docs/cmdline-opts/dns-interface.d
  39. 2 0
      docs/cmdline-opts/dns-ipv4-addr.d
  40. 2 0
      docs/cmdline-opts/dns-ipv6-addr.d
  41. 2 0
      docs/cmdline-opts/dns-servers.d
  42. 2 0
      docs/cmdline-opts/doh-cert-status.d
  43. 2 0
      docs/cmdline-opts/doh-insecure.d
  44. 2 0
      docs/cmdline-opts/doh-url.d
  45. 2 0
      docs/cmdline-opts/dump-header.d
  46. 2 0
      docs/cmdline-opts/egd-file.d
  47. 2 0
      docs/cmdline-opts/engine.d
  48. 2 0
      docs/cmdline-opts/etag-compare.d
  49. 2 0
      docs/cmdline-opts/etag-save.d
  50. 2 0
      docs/cmdline-opts/expect100-timeout.d
  51. 2 0
      docs/cmdline-opts/fail-early.d
  52. 2 0
      docs/cmdline-opts/fail-with-body.d
  53. 2 0
      docs/cmdline-opts/fail.d
  54. 2 0
      docs/cmdline-opts/false-start.d
  55. 2 0
      docs/cmdline-opts/form-escape.d
  56. 2 0
      docs/cmdline-opts/form-string.d
  57. 2 0
      docs/cmdline-opts/form.d
  58. 2 0
      docs/cmdline-opts/ftp-account.d
  59. 2 0
      docs/cmdline-opts/ftp-alternative-to-user.d
  60. 2 0
      docs/cmdline-opts/ftp-create-dirs.d
  61. 2 0
      docs/cmdline-opts/ftp-method.d
  62. 2 0
      docs/cmdline-opts/ftp-pasv.d
  63. 2 0
      docs/cmdline-opts/ftp-port.d
  64. 2 0
      docs/cmdline-opts/ftp-pret.d
  65. 2 0
      docs/cmdline-opts/ftp-skip-pasv-ip.d
  66. 2 0
      docs/cmdline-opts/ftp-ssl-ccc-mode.d
  67. 2 0
      docs/cmdline-opts/ftp-ssl-ccc.d
  68. 2 0
      docs/cmdline-opts/ftp-ssl-control.d
  69. 16 0
      docs/cmdline-opts/gen.pl
  70. 2 0
      docs/cmdline-opts/get.d
  71. 2 0
      docs/cmdline-opts/globoff.d
  72. 2 0
      docs/cmdline-opts/happy-eyeballs-timeout-ms.d
  73. 2 0
      docs/cmdline-opts/haproxy-protocol.d
  74. 2 0
      docs/cmdline-opts/head.d
  75. 2 0
      docs/cmdline-opts/header.d
  76. 2 0
      docs/cmdline-opts/help.d
  77. 2 0
      docs/cmdline-opts/hostpubmd5.d
  78. 2 0
      docs/cmdline-opts/hostpubsha256.d
  79. 2 0
      docs/cmdline-opts/hsts.d
  80. 2 0
      docs/cmdline-opts/http0.9.d
  81. 2 0
      docs/cmdline-opts/http1.0.d
  82. 2 0
      docs/cmdline-opts/http1.1.d
  83. 2 0
      docs/cmdline-opts/http2-prior-knowledge.d
  84. 2 0
      docs/cmdline-opts/http2.d
  85. 2 0
      docs/cmdline-opts/http3.d
  86. 2 0
      docs/cmdline-opts/ignore-content-length.d
  87. 2 0
      docs/cmdline-opts/include.d
  88. 2 0
      docs/cmdline-opts/insecure.d
  89. 2 0
      docs/cmdline-opts/interface.d
  90. 2 0
      docs/cmdline-opts/ipv4.d
  91. 2 0
      docs/cmdline-opts/ipv6.d
  92. 2 0
      docs/cmdline-opts/json.d
  93. 2 0
      docs/cmdline-opts/junk-session-cookies.d
  94. 2 0
      docs/cmdline-opts/keepalive-time.d
  95. 2 0
      docs/cmdline-opts/key-type.d
  96. 2 0
      docs/cmdline-opts/key.d
  97. 2 0
      docs/cmdline-opts/krb.d
  98. 2 0
      docs/cmdline-opts/libcurl.d
  99. 2 0
      docs/cmdline-opts/limit-rate.d
  100. 2 0
      docs/cmdline-opts/list-only.d

+ 8 - 0
docs/cmdline-opts/MANPAGE.md

@@ -1,3 +1,9 @@
+<!--
+  Copyright (C) 2000 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+
+  SPDX-License-Identifier: curl
+-->
+
 # curl man page generator
 
 This is the curl man page generator. It generates a single nroff man page
@@ -29,6 +35,8 @@ Each file has a set of meta-data and a body of text.
     See-also: (space separated list of related options, no dashes)
     Help: (short text for the --help output for this option)
     Example: (example command line, without "curl" and can use `$URL`)
+    c: (copyright line)
+    SPDX-License-Identifier: curl
     --- (end of meta-data)
 
 ### Body

+ 2 - 0
docs/cmdline-opts/abstract-unix-socket.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: abstract-unix-socket
 Arg: <path>
 Help: Connect via abstract Unix domain socket

+ 2 - 0
docs/cmdline-opts/alt-svc.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: alt-svc
 Arg: <file name>
 Protocols: HTTPS

+ 2 - 0
docs/cmdline-opts/anyauth.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: anyauth
 Help: Pick any authentication method
 Protocols: HTTP

+ 2 - 0
docs/cmdline-opts/append.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Short: a
 Long: append
 Help: Append to target file when uploading

+ 2 - 0
docs/cmdline-opts/aws-sigv4.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: aws-sigv4
 Arg: <provider1[:provider2[:region[:service]]]>
 Help: Use AWS V4 signature authentication

+ 2 - 0
docs/cmdline-opts/basic.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: basic
 Help: Use HTTP Basic Authentication
 See-also: proxy-basic

+ 2 - 0
docs/cmdline-opts/cacert.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: cacert
 Arg: <file>
 Help: CA certificate to verify peer against

+ 2 - 0
docs/cmdline-opts/capath.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: capath
 Arg: <dir>
 Help: CA directory to verify peer against

+ 2 - 0
docs/cmdline-opts/cert-status.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: cert-status
 Protocols: TLS
 Added: 7.41.0

+ 2 - 0
docs/cmdline-opts/cert-type.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: cert-type
 Protocols: TLS
 Arg: <type>

+ 2 - 0
docs/cmdline-opts/cert.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Short: E
 Long: cert
 Arg: <certificate[:password]>

+ 2 - 0
docs/cmdline-opts/ciphers.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: ciphers
 Arg: <list of ciphers>
 Help: SSL ciphers to use

+ 2 - 0
docs/cmdline-opts/compressed-ssh.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: compressed-ssh
 Help: Enable SSH compression
 Protocols: SCP SFTP

+ 2 - 0
docs/cmdline-opts/compressed.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: compressed
 Help: Request compressed response
 Protocols: HTTP

+ 2 - 0
docs/cmdline-opts/config.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: config
 Arg: <file>
 Help: Read config from a file

+ 2 - 0
docs/cmdline-opts/connect-timeout.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: connect-timeout
 Arg: <fractional seconds>
 Help: Maximum time allowed for connection

+ 2 - 0
docs/cmdline-opts/connect-to.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: connect-to
 Arg: <HOST1:PORT1:HOST2:PORT2>
 Help: Connect to host

+ 2 - 0
docs/cmdline-opts/continue-at.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Short: C
 Long: continue-at
 Arg: <offset>

+ 2 - 0
docs/cmdline-opts/cookie-jar.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Short: c
 Long: cookie-jar
 Arg: <filename>

+ 2 - 0
docs/cmdline-opts/cookie.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Short: b
 Long: cookie
 Arg: <data|filename>

+ 2 - 0
docs/cmdline-opts/create-dirs.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: create-dirs
 Help: Create necessary local directory hierarchy
 Category: curl

+ 2 - 0
docs/cmdline-opts/create-file-mode.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: create-file-mode
 Arg: <mode>
 Help: File mode for created files

+ 2 - 0
docs/cmdline-opts/crlf.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: crlf
 Help: Convert LF to CRLF in upload
 Protocols: FTP SMTP

+ 2 - 0
docs/cmdline-opts/crlfile.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: crlfile
 Arg: <file>
 Protocols: TLS

+ 2 - 0
docs/cmdline-opts/curves.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: curves
 Arg: <algorithm list>
 Help: (EC) TLS key exchange algorithm(s) to request

+ 2 - 0
docs/cmdline-opts/data-ascii.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: data-ascii
 Arg: <data>
 Help: HTTP POST ASCII data

+ 2 - 0
docs/cmdline-opts/data-binary.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: data-binary
 Arg: <data>
 Help: HTTP POST binary data

+ 2 - 0
docs/cmdline-opts/data-raw.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: data-raw
 Arg: <data>
 Protocols: HTTP

+ 2 - 0
docs/cmdline-opts/data-urlencode.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: data-urlencode
 Arg: <data>
 Help: HTTP POST data URL encoded

+ 2 - 0
docs/cmdline-opts/data.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: data
 Short: d
 Arg: <data>

+ 2 - 0
docs/cmdline-opts/delegation.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: delegation
 Arg: <LEVEL>
 Help: GSS-API delegation permission

+ 2 - 0
docs/cmdline-opts/digest.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: digest
 Help: Use HTTP Digest Authentication
 Protocols: HTTP

+ 2 - 0
docs/cmdline-opts/disable-eprt.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: disable-eprt
 Help: Inhibit using EPRT or LPRT
 Protocols: FTP

+ 2 - 0
docs/cmdline-opts/disable-epsv.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: disable-epsv
 Help: Inhibit using EPSV
 Protocols: FTP

+ 2 - 0
docs/cmdline-opts/disable.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: disable
 Short: q
 Help: Disable .curlrc

+ 2 - 0
docs/cmdline-opts/disallow-username-in-url.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: disallow-username-in-url
 Help: Disallow username in URL
 Protocols: HTTP

+ 2 - 0
docs/cmdline-opts/dns-interface.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: dns-interface
 Arg: <interface>
 Help: Interface to use for DNS requests

+ 2 - 0
docs/cmdline-opts/dns-ipv4-addr.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: dns-ipv4-addr
 Arg: <address>
 Help: IPv4 address to use for DNS requests

+ 2 - 0
docs/cmdline-opts/dns-ipv6-addr.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: dns-ipv6-addr
 Arg: <address>
 Help: IPv6 address to use for DNS requests

+ 2 - 0
docs/cmdline-opts/dns-servers.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: dns-servers
 Arg: <addresses>
 Help: DNS server addrs to use

+ 2 - 0
docs/cmdline-opts/doh-cert-status.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: doh-cert-status
 Help: Verify the status of the DoH server cert via OCSP-staple
 Added: 7.76.0

+ 2 - 0
docs/cmdline-opts/doh-insecure.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: doh-insecure
 Help: Allow insecure DoH server connections
 Added: 7.76.0

+ 2 - 0
docs/cmdline-opts/doh-url.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: doh-url
 Arg: <URL>
 Help: Resolve host names over DoH

+ 2 - 0
docs/cmdline-opts/dump-header.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: dump-header
 Short: D
 Arg: <filename>

+ 2 - 0
docs/cmdline-opts/egd-file.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: egd-file
 Arg: <file>
 Help: EGD socket path for random data

+ 2 - 0
docs/cmdline-opts/engine.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: engine
 Arg: <name>
 Help: Crypto engine to use

+ 2 - 0
docs/cmdline-opts/etag-compare.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: etag-compare
 Arg: <file>
 Help: Pass an ETag from a file as a custom header

+ 2 - 0
docs/cmdline-opts/etag-save.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: etag-save
 Arg: <file>
 Help: Parse ETag from a request and save it to a file

+ 2 - 0
docs/cmdline-opts/expect100-timeout.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: expect100-timeout
 Arg: <seconds>
 Help: How long to wait for 100-continue

+ 2 - 0
docs/cmdline-opts/fail-early.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: fail-early
 Help: Fail on first transfer error, do not continue
 Added: 7.52.0

+ 2 - 0
docs/cmdline-opts/fail-with-body.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: fail-with-body
 Protocols: HTTP
 Help: Fail on HTTP errors but save the body

+ 2 - 0
docs/cmdline-opts/fail.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: fail
 Short: f
 Protocols: HTTP

+ 2 - 0
docs/cmdline-opts/false-start.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: false-start
 Help: Enable TLS False Start
 Protocols: TLS

+ 2 - 0
docs/cmdline-opts/form-escape.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: form-escape
 Help: Escape multipart form field/file names using backslash
 Protocols: HTTP

+ 2 - 0
docs/cmdline-opts/form-string.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: form-string
 Help: Specify multipart MIME data
 Protocols: HTTP SMTP IMAP

+ 2 - 0
docs/cmdline-opts/form.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: form
 Short: F
 Arg: <name=content>

+ 2 - 0
docs/cmdline-opts/ftp-account.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: ftp-account
 Arg: <data>
 Help: Account data string

+ 2 - 0
docs/cmdline-opts/ftp-alternative-to-user.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: ftp-alternative-to-user
 Arg: <command>
 Help: String to replace USER [name]

+ 2 - 0
docs/cmdline-opts/ftp-create-dirs.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: ftp-create-dirs
 Protocols: FTP SFTP
 Help: Create the remote dirs if not present

+ 2 - 0
docs/cmdline-opts/ftp-method.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: ftp-method
 Arg: <method>
 Help: Control CWD usage

+ 2 - 0
docs/cmdline-opts/ftp-pasv.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: ftp-pasv
 Help: Use PASV/EPSV instead of PORT
 Protocols: FTP

+ 2 - 0
docs/cmdline-opts/ftp-port.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: ftp-port
 Arg: <address>
 Help: Use PORT instead of PASV

+ 2 - 0
docs/cmdline-opts/ftp-pret.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: ftp-pret
 Help: Send PRET before PASV
 Protocols: FTP

+ 2 - 0
docs/cmdline-opts/ftp-skip-pasv-ip.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: ftp-skip-pasv-ip
 Help: Skip the IP address for PASV
 Protocols: FTP

+ 2 - 0
docs/cmdline-opts/ftp-ssl-ccc-mode.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: ftp-ssl-ccc-mode
 Arg: <active/passive>
 Help: Set CCC mode

+ 2 - 0
docs/cmdline-opts/ftp-ssl-ccc.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: ftp-ssl-ccc
 Help: Send CCC after authenticating
 Protocols: FTP

+ 2 - 0
docs/cmdline-opts/ftp-ssl-control.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: ftp-ssl-control
 Help: Require SSL/TLS for FTP login, clear for transfer
 Protocols: FTP

+ 16 - 0
docs/cmdline-opts/gen.pl

@@ -197,6 +197,8 @@ sub single {
     my $requires;
     my $category;
     my $seealso;
+    my $copyright;
+    my $spdx;
     my @examples; # there can be more than one
     my $magic; # cmdline special option
     my $line;
@@ -238,6 +240,12 @@ sub single {
         elsif(/^Example: *(.*)/i) {
             push @examples, $1;
         }
+        elsif(/^C: (.*)/i) {
+            $copyright=$1;
+        }
+        elsif(/^SPDX-License-Identifier: (.*)/i) {
+            $spdx=$1;
+        }
         elsif(/^Help: *(.*)/i) {
             ;
         }
@@ -262,6 +270,14 @@ sub single {
                 print STDERR "$f:$line:1:ERROR: no 'See-also:' field present\n";
                 return 2;
             }
+            if(!$copyright) {
+                print STDERR "$f:$line:1:ERROR: no 'C:' field present\n";
+                return 2;
+            }
+            if(!$spdx) {
+                print STDERR "$f:$line:1:ERROR: no 'SPDX-License-Identifier:' field present\n";
+                return 2;
+            }
             last;
         }
         else {

+ 2 - 0
docs/cmdline-opts/get.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: get
 Short: G
 Help: Put the post data in the URL and use GET

+ 2 - 0
docs/cmdline-opts/globoff.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: globoff
 Short: g
 Help: Disable URL sequences and ranges using {} and []

+ 2 - 0
docs/cmdline-opts/happy-eyeballs-timeout-ms.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: happy-eyeballs-timeout-ms
 Arg: <milliseconds>
 Help: Time for IPv6 before trying IPv4

+ 2 - 0
docs/cmdline-opts/haproxy-protocol.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: haproxy-protocol
 Help: Send HAProxy PROXY protocol v1 header
 Protocols: HTTP

+ 2 - 0
docs/cmdline-opts/head.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: head
 Short: I
 Help: Show document info only

+ 2 - 0
docs/cmdline-opts/header.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: header
 Short: H
 Arg: <header/@file>

+ 2 - 0
docs/cmdline-opts/help.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: help
 Arg: <category>
 Short: h

+ 2 - 0
docs/cmdline-opts/hostpubmd5.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: hostpubmd5
 Arg: <md5>
 Help: Acceptable MD5 hash of the host public key

+ 2 - 0
docs/cmdline-opts/hostpubsha256.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: hostpubsha256
 Arg: <sha256>
 Help: Acceptable SHA256 hash of the host public key

+ 2 - 0
docs/cmdline-opts/hsts.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: hsts
 Arg: <file name>
 Protocols: HTTPS

+ 2 - 0
docs/cmdline-opts/http0.9.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: http0.9
 Tags: Versions
 Protocols: HTTP

+ 2 - 0
docs/cmdline-opts/http1.0.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Short: 0
 Long: http1.0
 Tags: Versions

+ 2 - 0
docs/cmdline-opts/http1.1.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: http1.1
 Tags: Versions
 Protocols: HTTP

+ 2 - 0
docs/cmdline-opts/http2-prior-knowledge.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: http2-prior-knowledge
 Tags: Versions
 Protocols: HTTP

+ 2 - 0
docs/cmdline-opts/http2.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: http2
 Tags: Versions
 Protocols: HTTP

+ 2 - 0
docs/cmdline-opts/http3.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: http3
 Tags: Versions
 Protocols: HTTP

+ 2 - 0
docs/cmdline-opts/ignore-content-length.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: ignore-content-length
 Help: Ignore the size of the remote resource
 Protocols: FTP HTTP

+ 2 - 0
docs/cmdline-opts/include.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: include
 Short: i
 Help: Include protocol response headers in the output

+ 2 - 0
docs/cmdline-opts/insecure.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: insecure
 Short: k
 Help: Allow insecure server connections

+ 2 - 0
docs/cmdline-opts/interface.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: interface
 Arg: <name>
 Help: Use network INTERFACE (or address)

+ 2 - 0
docs/cmdline-opts/ipv4.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Short: 4
 Long: ipv4
 Tags: Versions

+ 2 - 0
docs/cmdline-opts/ipv6.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Short: 6
 Long: ipv6
 Tags: Versions

+ 2 - 0
docs/cmdline-opts/json.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: json
 Arg: <data>
 Help: HTTP POST JSON

+ 2 - 0
docs/cmdline-opts/junk-session-cookies.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: junk-session-cookies
 Short: j
 Help: Ignore session cookies read from file

+ 2 - 0
docs/cmdline-opts/keepalive-time.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: keepalive-time
 Arg: <seconds>
 Help: Interval time for keepalive probes

+ 2 - 0
docs/cmdline-opts/key-type.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: key-type
 Arg: <type>
 Help: Private key file type (DER/PEM/ENG)

+ 2 - 0
docs/cmdline-opts/key.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: key
 Arg: <key>
 Protocols: TLS SSH

+ 2 - 0
docs/cmdline-opts/krb.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: krb
 Arg: <level>
 Help: Enable Kerberos with security <level>

+ 2 - 0
docs/cmdline-opts/libcurl.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: libcurl
 Arg: <file>
 Help: Dump libcurl equivalent code of this command line

+ 2 - 0
docs/cmdline-opts/limit-rate.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: limit-rate
 Arg: <speed>
 Help: Limit transfer speed to RATE

+ 2 - 0
docs/cmdline-opts/list-only.d

@@ -1,3 +1,5 @@
+c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
 Long: list-only
 Short: l
 Protocols: FTP POP3

Einige Dateien werden nicht angezeigt, da zu viele Dateien in diesem Diff geändert wurden.