diff options
Diffstat (limited to 'lib/compilers/argument-parsers.js')
-rw-r--r-- | lib/compilers/argument-parsers.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compilers/argument-parsers.js b/lib/compilers/argument-parsers.js index e98b8be3b..d0328d2c1 100644 --- a/lib/compilers/argument-parsers.js +++ b/lib/compilers/argument-parsers.js @@ -129,13 +129,13 @@ class ClangParser extends BaseParser { class PascalParser extends BaseParser { static parse(compiler) { - return PascalParser.getOptions(compiler, "-help"); + return PascalParser.getOptions(compiler, "-help").then(() => compiler); } } class ISPCParser extends BaseParser { static parse(compiler) { - return ISPCParser.getOptions(compiler, "--help"); + return ISPCParser.getOptions(compiler, "--help").then(() => compiler); } static getOptions(compiler, helpArg) { |