gawk

[old] Sed-like interface to the Gopher protocol
Log | Files | Refs | LICENSE

commit 60ad9365f7061fe906c25d9dee119a2a07e780fd
parent 7cb5b22ef4045909674d5c19e79f290553d57a97
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Sun, 20 Dec 2020 12:18:40 -0800

Include command character in "Too many arguments" error message

Diffstat:
Mmain.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.c b/main.c @@ -396,7 +396,7 @@ gawk(int depth, const char *tmpdir, const char *host, const char *path, const ch argc = argsplit(argv, LEN(argv), inbuf + 1, ARG_SEP); if (argc < 0) { too_many_args: - warnx("Too many arguments"); + warnx("'%c': Too many arguments.", *inbuf); continue; }