aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/argument-parsers.js
diff options
context:
space:
mode:
authorPartouf <partouf@gmail.com>2018-10-26 13:53:52 +0200
committerPartouf <partouf@gmail.com>2018-10-26 13:53:52 +0200
commit466b3341673a983d0d1db489b6aa3f0239be7764 (patch)
treec7a40545d8237af02acc9e959b8f09f061c5cb4c /lib/compilers/argument-parsers.js
parent1e6a303ba03ac7628d2eae8df21be57e6f49cce8 (diff)
downloadcompiler-explorer-466b3341673a983d0d1db489b6aa3f0239be7764.tar.gz
compiler-explorer-466b3341673a983d0d1db489b6aa3f0239be7764.zip
=
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 efcb1f70a..72b2cc9a3 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-zA-Z0-9<>]+)\s*(.*)/;
+ const optionFinder = /^\s*(--?[-a-zA-Z0-9<>=]+)\s*(.*)/;
let previousOption = false;
utils.eachLine(result.stdout + result.stderr, line => {