fix limit error code
This commit is contained in:
parent
c7eaae547b
commit
6e155817dd
2
main.c
2
main.c
@ -87,7 +87,7 @@ int main(int argc, char *argv[]) {
|
|||||||
if (argc > 3) {
|
if (argc > 3) {
|
||||||
if (!parse_range(argv[3], &range)) {
|
if (!parse_range(argv[3], &range)) {
|
||||||
fprintf(stderr, "Invalid format of ranges! The correct format is \"xMin:xMax:yMin:yMax\".\n");
|
fprintf(stderr, "Invalid format of ranges! The correct format is \"xMin:xMax:yMin:yMax\".\n");
|
||||||
return ERR_INVALID_ARGS;
|
return ERR_INVALID_LIMITS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user