aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/argument-parsers.js
diff options
context:
space:
mode:
authorPartouf <partouf@gmail.com>2018-10-26 14:10:20 +0200
committerPartouf <partouf@gmail.com>2018-10-26 14:10:20 +0200
commitf3265e2fbe928011153ec2cae61d3fb70ba6af05 (patch)
treeb252a3a2e053fcdfb3dc310eacc399b8af9071a8 /lib/compilers/argument-parsers.js
parent04b83551efe8b0a4f0754ccba5994d6ef53e412a (diff)
downloadcompiler-explorer-f3265e2fbe928011153ec2cae61d3fb70ba6af05.tar.gz
compiler-explorer-f3265e2fbe928011153ec2cae61d3fb70ba6af05.zip
fix strange error
Diffstat (limited to 'lib/compilers/argument-parsers.js')
-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 1b5cbe752..05f52a7ad 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*(--?[a-z0-9,[\]<>|-=]*)\s*(.*)/i;
+ const optionFinder = /^\s*(--?[a-z0-9=,[\]<>|-]*)\s*(.*)/i;
let previousOption = false;
utils.eachLine(result.stdout + result.stderr, line => {