- added error message when parameter was not found
This commit is contained in:
@ -239,6 +239,7 @@ int InvokeSICSOBJ(SConnection *pCon, SicsInterp *pSics, void *pData,
|
|||||||
if(strcmp(argv[1],"makescriptfunc") == 0) {
|
if(strcmp(argv[1],"makescriptfunc") == 0) {
|
||||||
return MakeScriptFunc(self,pCon,argc,argv);
|
return MakeScriptFunc(self,pCon,argc,argv);
|
||||||
}
|
}
|
||||||
|
SCPrintf(pCon, eError, "ERROR: %s %s not found", argv[0], argv[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
|
Reference in New Issue
Block a user