aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/argument-parsers.js
diff options
context:
space:
mode:
authorPartouf <partouf@gmail.com>2018-10-26 13:58:19 +0200
committerPartouf <partouf@gmail.com>2018-10-26 13:58:19 +0200
commitbb0e993019846a2328feb3c5b4a3fef140397753 (patch)
tree41e69aca7194f90dea8ec6af7682f845c1c1e565 /lib/compilers/argument-parsers.js
parent06c0b19eed957b853684e2af13b3d44d79a94e3c (diff)
downloadcompiler-explorer-bb0e993019846a2328feb3c5b4a3fef140397753.tar.gz
compiler-explorer-bb0e993019846a2328feb3c5b4a3fef140397753.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 461b37274..5796d0338 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 => {