summaryrefslogtreecommitdiff
path: root/src/tool_getparam.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-05-20 10:51:53 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-05-20 19:04:54 +0200
commit31b77c1877a807ab6184b22ab2310e096536b9b5 (patch)
treeeb2e4bee9ab6207abf74b850cfbc3614af2bcc41 /src/tool_getparam.h
parent0da8441298569dfd714e7b21f74aab373b95d2f7 (diff)
downloadcurl-31b77c1877a807ab6184b22ab2310e096536b9b5.tar.gz
curl: report error for "--no-" on non-boolean options
Reported-by: Olen Andoni Fixes #3906 Closes #3907
Diffstat (limited to 'src/tool_getparam.h')
-rw-r--r--src/tool_getparam.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tool_getparam.h b/src/tool_getparam.h
index daf83b884..f6fcd5a35 100644
--- a/src/tool_getparam.h
+++ b/src/tool_getparam.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -42,6 +42,7 @@ typedef enum {
PARAM_NEXT_OPERATION,
PARAM_NO_PREFIX,
PARAM_NUMBER_TOO_LARGE,
+ PARAM_NO_NOT_BOOLEAN,
PARAM_LAST
} ParameterError;