Add fairings. Do not depend on user actually supplying the arguments
he is supposed to supply.
This commit is contained in:
parent
98a440967f
commit
35d9646783
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user