Complain if neither a file to load or -t are specified.

This commit is contained in:
David Betz 2015-02-21 08:13:08 -05:00
parent f8f8e57399
commit dc830434bf

View File

@ -185,6 +185,12 @@ int main(int argc, char *argv[])
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 */
if (file) {