aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/argument-parsers.js
diff options
context:
space:
mode:
authorPartouf <partouf@gmail.com>2018-10-26 13:47:11 +0200
committerPartouf <partouf@gmail.com>2018-10-26 13:47:11 +0200
commit5d4a868174640fda5e9ea2bc23505a237090d3f0 (patch)
tree2fe43387e2914c1c8e8a6fc63b5afce1a47154f9 /lib/compilers/argument-parsers.js
parent6d1305b016d476a2c6fc29f6c05bef3620376630 (diff)
downloadcompiler-explorer-5d4a868174640fda5e9ea2bc23505a237090d3f0.tar.gz
compiler-explorer-5d4a868174640fda5e9ea2bc23505a237090d3f0.zip
-O<number>
Diffstat (limited to 'lib/compilers/argument-parsers.js')
-rw-r--r--lib/compilers/argument-parsers.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/compilers/argument-parsers.js b/lib/compilers/argument-parsers.js
index 49d7cee2a..ee1522925 100644
--- a/lib/compilers/argument-parsers.js
+++ b/lib/compilers/argument-parsers.js
@@ -66,7 +66,8 @@ class GCCParser extends BaseParser {
static parse(compiler) {
return Promise.all([
GCCParser.getOptions(compiler, "--target-help"),
- GCCParser.getOptions(compiler, "--help=common")
+ GCCParser.getOptions(compiler, "--help=common"),
+ GCCParser.getOptions(compiler, "--help=optimizers")
]).then(results => {
const options = _.extend.apply(_.extend, results);
const keys = _.keys(options);