Complain if neither a file to load or -t are specified.
This commit is contained in:
parent
f8f8e57399
commit
dc830434bf
6
p1load.c
6
p1load.c
@ -185,6 +185,12 @@ int main(int argc, char *argv[])
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* complain about nothing to do */
|
||||||
|
else {
|
||||||
|
printf("error: must specify either a file to load or -t\n");
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
/* check for a file to load */
|
/* check for a file to load */
|
||||||
if (file) {
|
if (file) {
|
||||||
|
Loading…
Reference in New Issue
Block a user