diff options
Diffstat (limited to 'src/tool_getparam.c')
-rw-r--r-- | src/tool_getparam.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tool_getparam.c b/src/tool_getparam.c index 56964394b..b31583299 100644 --- a/src/tool_getparam.c +++ b/src/tool_getparam.c @@ -284,6 +284,7 @@ static const struct LongShort aliases[]= { {"fb", "styled-output", ARG_BOOL}, {"fc", "mail-rcpt-allowfails", ARG_BOOL}, {"fd", "fail-with-body", ARG_BOOL}, + {"fe", "remove-on-error", ARG_BOOL}, {"F", "form", ARG_STRING}, {"Fs", "form-string", ARG_STRING}, {"g", "globoff", ARG_BOOL}, @@ -1830,7 +1831,10 @@ ParameterError getparameter(const char *flag, /* f or -long-flag */ case 'd': /* --fail-with-body */ config->failwithbody = toggle; break; - default: /* --fail (hard on errors) */ + case 'e': /* --remove-on-error */ + config->rm_partial = toggle; + break; + default: /* --fail (hard on errors) */ config->failonerror = toggle; break; } |