summaryrefslogtreecommitdiff
path: root/src/tool_helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool_helpers.c')
-rw-r--r--src/tool_helpers.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tool_helpers.c b/src/tool_helpers.c
index b3a9516a8..61788b7f8 100644
--- a/src/tool_helpers.c
+++ b/src/tool_helpers.c
@@ -5,7 +5,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
@@ -66,6 +66,8 @@ const char *param2text(int res)
return "the given option can't be reversed with a --no- prefix";
case PARAM_NUMBER_TOO_LARGE:
return "too large number";
+ case PARAM_NO_NOT_BOOLEAN:
+ return "used '--no-' for option that isn't a boolean";
default:
return "unknown error";
}