aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers
diff options
context:
space:
mode:
authorPartouf <partouf@gmail.com>2018-10-26 14:04:12 +0200
committerPartouf <partouf@gmail.com>2018-10-26 14:04:12 +0200
commit8a8e3602c379d3cb12f3fc9606df95d28c21368d (patch)
tree648565462da57e03fcd2549c5ad94531f65997ef /lib/compilers
parent5d1931377a85c43e93d23095adc5a4e66af95615 (diff)
downloadcompiler-explorer-8a8e3602c379d3cb12f3fc9606df95d28c21368d.tar.gz
compiler-explorer-8a8e3602c379d3cb12f3fc9606df95d28c21368d.zip
fix
Diffstat (limited to 'lib/compilers')
-rw-r--r--lib/compilers/argument-parsers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compilers/argument-parsers.js b/lib/compilers/argument-parsers.js
index 7bb9fc130..608a44a2e 100644
--- a/lib/compilers/argument-parsers.js
+++ b/lib/compilers/argument-parsers.js
@@ -31,7 +31,7 @@ class BaseParser {
return compiler.exec(compiler.compiler.exe, [helpArg]).then(result => {
const options = {};
if (result.code === 0) {
- const optionFinder = /^\s*(--?.*)\s*(.*)/;
+ const optionFinder = /^\s*(--?[a-z0-9,[\]<>|-]*)\s*(.*)/i;
let previousOption = false;
utils.eachLine(result.stdout + result.stderr, line => {