diff options
author | Partouf <partouf@gmail.com> | 2018-10-26 14:00:21 +0200 |
---|---|---|
committer | Partouf <partouf@gmail.com> | 2018-10-26 14:00:21 +0200 |
commit | 5d1931377a85c43e93d23095adc5a4e66af95615 (patch) | |
tree | 4ff8ace895f74f106d5137cf30a638d5c47d7aee /lib/compilers/argument-parsers.js | |
parent | bb0e993019846a2328feb3c5b4a3fef140397753 (diff) | |
download | compiler-explorer-5d1931377a85c43e93d23095adc5a4e66af95615.tar.gz compiler-explorer-5d1931377a85c43e93d23095adc5a4e66af95615.zip |
simplify
Diffstat (limited to 'lib/compilers/argument-parsers.js')
-rw-r--r-- | lib/compilers/argument-parsers.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compilers/argument-parsers.js b/lib/compilers/argument-parsers.js index 5796d0338..7bb9fc130 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*(--?.*)\s*(.*)/; let previousOption = false; utils.eachLine(result.stdout + result.stderr, line => { |