improve CLI usability (#2016)
Report supported options upon invalid option syntax. fixes #1883
This commit is contained in:
@@ -351,7 +351,7 @@ function parse_js(flag, constants) {
|
||||
}
|
||||
}));
|
||||
} catch(ex) {
|
||||
fatal("Error parsing arguments for '" + flag + "': " + value);
|
||||
options[value] = null;
|
||||
}
|
||||
return options;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user