Skip to content

Commit 961dad4

Browse files
authored
fix: update curl long values (#70)
1 parent e63e657 commit 961dad4

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

args/curlopts.go

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package args
22

33
var (
4-
curlShortValues = "EKCbcdDFPHhmoUreXYytzTuAw"
4+
curlShortValues = "EKCbcdDFPHhmoUQreXYytzTuAw"
55
curlLongValues = []string{
66
"abstract-unix-socket",
77
"alt-svc",
@@ -48,8 +48,10 @@ var (
4848
"header",
4949
"help",
5050
"hostpubmd5",
51+
"hostpubsha256",
5152
"hsts",
5253
"interface",
54+
"json",
5355
"keepalive-time",
5456
"key",
5557
"key-type",
@@ -69,6 +71,7 @@ var (
6971
"oauth2-bearer",
7072
"output",
7173
"output-dir",
74+
"parallel-max",
7275
"pass",
7376
"pinnedpubkey",
7477
"proto",
@@ -93,10 +96,13 @@ var (
9396
"proxy-user",
9497
"proxy1.0",
9598
"pubkey",
99+
"quote",
96100
"random-file",
97101
"range",
102+
"rate",
98103
"referer",
99104
"request",
105+
"request-target",
100106
"resolve",
101107
"retry",
102108
"retry-delay",
@@ -110,18 +116,21 @@ var (
110116
"socks5-hostname",
111117
"speed-limit",
112118
"speed-time",
119+
"stderr",
113120
"telnet-option",
114121
"tftp-blksize",
115122
"time-cond",
116123
"tls-max",
117124
"tls13-ciphers",
118125
"tlsauthtype",
126+
"tlspassword",
119127
"tlsuser",
120128
"trace",
121129
"trace-ascii",
122130
"unix-socket",
123131
"upload-file",
124132
"url",
133+
"url-query",
125134
"user",
126135
"user-agent",
127136
"write-out"}

0 commit comments

Comments
 (0)