mirror of
https://github.com/cc65/cc65.git
synced 2025-02-05 20:31:53 +00:00
Use the new InvArg function.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4346 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
45b469c786
commit
b19a29f80b
@ -420,7 +420,7 @@ static void OptListBytes (const char* Opt, const char* Arg)
|
|||||||
|
|
||||||
/* Convert the argument to a number */
|
/* Convert the argument to a number */
|
||||||
if (sscanf (Arg, "%u%c", &Num, &Check) != 1) {
|
if (sscanf (Arg, "%u%c", &Num, &Check) != 1) {
|
||||||
AbEnd ("Invalid argument for option `%s'", Opt);
|
InvArg (Opt, Arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check the bounds */
|
/* Check the bounds */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user