aboutsummaryrefslogtreecommitdiff
path: root/src/tool_getparam.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-05-01 01:23:53 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-05-02 23:09:54 +0200
commit913c3c8f5476bd7bc4d8d00509396bd4b525b8fc (patch)
tree50672dc093fe88a8244d04849a8e48813cfc841e /src/tool_getparam.h
parentf2d5d05893880bea6ae5951020ab47b7c581f8ec (diff)
curl: non-boolean command line args reject --no- prefixes
... and instead properly respond with an error message to the user instead of silently ignoring. Fixes #1453 Closes #1458
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 0c85c6904..4e97721ed 100644
--- a/src/tool_getparam.h
+++ b/src/tool_getparam.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2017, 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
@@ -40,6 +40,7 @@ typedef enum {
PARAM_LIBCURL_UNSUPPORTED_PROTOCOL,
PARAM_NO_MEM,
PARAM_NEXT_OPERATION,
+ PARAM_NO_PREFIX,
PARAM_LAST
} ParameterError;