{
if (!MoreArgs(s))
{
- mutt_str_strfcpy(err->data, _("not enough arguments"), err->dsize);
+ mutt_buffer_printf(err, _("%s: too few arguments"), "echo");
return -1;
}
mutt_extract_token(buf, s, 0);
/* First token is a regex. */
if (!MoreArgs(s))
{
- mutt_str_strfcpy(err->data, _("not enough arguments"), err->dsize);
+ mutt_buffer_printf(err, _("%s: too few arguments"), "subjectrx");
return -1;
}
mutt_extract_token(buf, s, 0);
/* Second token is a replacement template */
if (!MoreArgs(s))
{
- mutt_str_strfcpy(err->data, _("not enough arguments"), err->dsize);
+ mutt_buffer_printf(err, _("%s: too few arguments"), "subjectrx");
return -1;
}
mutt_extract_token(&templ, s, 0);
/* First token is a regex. */
if (!MoreArgs(s))
{
- mutt_str_strfcpy(err->data, _("not enough arguments"), err->dsize);
+ mutt_buffer_printf(err, _("%s: too few arguments"), "unsubjectrx");
return -1;
}