diff --git a/lib/parse/cmdline.py b/lib/parse/cmdline.py index 87ae267ad..27c9d188d 100644 --- a/lib/parse/cmdline.py +++ b/lib/parse/cmdline.py @@ -488,9 +488,6 @@ def cmdLineParser(): parser.add_option("--profile", dest="profile", action="store_true", default=False, help=SUPPRESS_HELP) - parser.add_option("--error", dest="error", action="store_true", - default=False, help=SUPPRESS_HELP) - parser.add_option("--error-test", dest="errorTest", action="store_true", default=False, help=SUPPRESS_HELP) diff --git a/lib/request/inject.py b/lib/request/inject.py index ac7ea712e..f89b2cd89 100644 --- a/lib/request/inject.py +++ b/lib/request/inject.py @@ -392,7 +392,7 @@ def getValue(expression, blind=True, inband=True, error=False, fromUser=False, e expression = expression.replace("DISTINCT ", "") - if error or conf.error: + if error or conf.errorTest: value = __goError(expression) if not value: