summaryrefslogtreecommitdiff
path: root/src/tool_getparam.c
diff options
context:
space:
mode:
authorAlessandro Ghedini <alessandro@ghedini.me>2015-02-14 18:17:04 +0100
committerKamil Dudka <kdudka@redhat.com>2015-03-20 20:14:35 +0100
commit1f651d1d4d6d3b6c05e2ebf229ccd10ae2af1991 (patch)
treed606067ca21c456b6ca41edfa41768a8421c17bb /src/tool_getparam.c
parent185914fd317043d64d48155fb3dfbba4e8a7a294 (diff)
downloadcurl-1f651d1d4d6d3b6c05e2ebf229ccd10ae2af1991.tar.gz
curl: add --false-start option
Diffstat (limited to 'src/tool_getparam.c')
-rw-r--r--src/tool_getparam.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tool_getparam.c b/src/tool_getparam.c
index 30ad5873e..56aa03050 100644
--- a/src/tool_getparam.c
+++ b/src/tool_getparam.c
@@ -218,6 +218,7 @@ static const struct LongShort aliases[]= {
{"Eo", "login-options", TRUE},
{"Ep", "pinnedpubkey", TRUE},
{"Eq", "cert-status", FALSE},
+ {"Er", "false-start", FALSE},
{"f", "fail", FALSE},
{"F", "form", TRUE},
{"Fs", "form-string", TRUE},
@@ -1368,6 +1369,10 @@ ParameterError getparameter(char *flag, /* f or -long-flag */
config->verifystatus = TRUE;
break;
+ case 'r': /* --false-start */
+ config->falsestart = TRUE;
+ break;
+
default: /* certificate file */
{
char *certname, *passphrase;