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

he is supposed to supply.
This commit is contained in:
Daniel C. Sobral 1999-12-01 18:30:26 +00:00
parent 98a440967f
commit 35d9646783

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':