Add fairings. Do not depend on user actually supplying the arguments

he is supposed to supply.
This commit is contained in:
dcs 1999-12-01 18:30:26 +00:00
parent f4b5d58cc5
commit d159fe7620

View File

@ -74,6 +74,10 @@ command_load(int argc, char *argv[])
optind = 1;
optreset = 1;
typestr = NULL;
if (argc == 1) {
command_errmsg = "no filename specified";
return(CMD_ERROR);
}
while ((ch = getopt(argc, argv, "t:")) != -1) {
switch(ch) {
case 't':