Skip to content
Snippets Groups Projects
Commit 35593f66 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix ReferenceError: options is not defined

Just fall-through to display help output for unrecognized options.
parent 7ece79fc
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #4613 passed
......@@ -62,9 +62,8 @@ for(var i = 0; i < argc; ++i) {
break;
case '?':
case 'help':
usage();
default:
options[argv[i].slice(1)] = true;
usage();
break;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment