summaryrefslogtreecommitdiffstats
path: root/src/cmdhist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmdhist.c')
-rw-r--r--src/cmdhist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmdhist.c b/src/cmdhist.c
index d708535ff9..69c83c0b5a 100644
--- a/src/cmdhist.c
+++ b/src/cmdhist.c
@@ -705,7 +705,7 @@ ex_history(exarg_T *eap)
else
{
*end = i;
- emsg(_(e_trailing));
+ semsg(_(e_trailing_arg), arg);
return;
}
}
@@ -717,7 +717,7 @@ ex_history(exarg_T *eap)
end = arg;
if (!get_list_range(&end, &hisidx1, &hisidx2) || *end != NUL)
{
- emsg(_(e_trailing));
+ semsg(_(e_trailing_arg), end);
return;
}