Skip to content
Snippets Groups Projects
Commit ed02f0ab authored by Steve Holme's avatar Steve Holme
Browse files

tool_parsecfg: Reworked error handling from commit fc59a9e1

parent 5e097583
No related branches found
No related tags found
No related merge requests found
......@@ -250,7 +250,8 @@ int parseconfig(const char *filename, struct GlobalConfig *global)
res = PARAM_NO_MEM;
}
}
else if(res != PARAM_OK) {
if(res != PARAM_OK && res != PARAM_NEXT_OPERATION) {
/* the help request isn't really an error */
if(!strcmp(filename, "-")) {
filename = (char *)"<stdin>";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment