summaryrefslogtreecommitdiff
path: root/src/ex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex.c')
-rw-r--r--src/ex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex.c b/src/ex.c
index 191c90b..9f5d59b 100644
--- a/src/ex.c
+++ b/src/ex.c
@@ -467,7 +467,7 @@ VbCmdResult ex_run_file(Client *c, const char *filename)
}
if ((ex_run_string(c, line) & ~CMD_KEEPINPUT) == CMD_ERROR) {
res = CMD_ERROR | CMD_KEEPINPUT;
- g_warning("Invalid command in %s: '%s'", filename, line);
+ g_warning("Invalid command in %s line #%u : '%s'", filename, i+1, line);
}
}
g_strfreev(lines);