diff --git a/src/ca65/main.c b/src/ca65/main.c index 911be7315..54575937a 100644 --- a/src/ca65/main.c +++ b/src/ca65/main.c @@ -420,7 +420,7 @@ static void OptListBytes (const char* Opt, const char* Arg) /* Convert the argument to a number */ if (sscanf (Arg, "%u%c", &Num, &Check) != 1) { - AbEnd ("Invalid argument for option `%s'", Opt); + InvArg (Opt, Arg); } /* Check the bounds */