Commit af7a57cd af7a57cd99e588888bbf56cd163bcd80617540e5 by Sergey Poznyakoff

(parse_opt): Pass the argument to ARG_FOLDER without the leading '+'.

1 parent 019c60ec
......@@ -38,7 +38,7 @@ parse_opt (int key, char *arg, struct argp_state *state)
case ARGP_KEY_ARG:
if (arg[0] == '+')
{
data->handler (ARG_FOLDER, arg, data->closure);
data->handler (ARG_FOLDER, arg + 1, data->closure);
break;
}
return ARGP_ERR_UNKNOWN;
......