Commit f61d2513 f61d251389bb2ceaafaa1e3cf29da4514e96acf9 by Sergey Poznyakoff

(parse_opt): Use argp_error to report errors

1 parent cbe0784b
......@@ -112,7 +112,7 @@ parse_opt (int key, char *arg, struct argp_state *state)
case 'f':
if (from != NULL)
{
mu_error ("multiple --from options");
argp_error (state, "multiple --from options");
return EX_USAGE;
}
from = arg;
......