diff options
Diffstat (limited to 'src/app/qbs/parser/commandlineoptionpool.cpp')
-rw-r--r-- | src/app/qbs/parser/commandlineoptionpool.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/app/qbs/parser/commandlineoptionpool.cpp b/src/app/qbs/parser/commandlineoptionpool.cpp index 632bbb081..908271cd5 100644 --- a/src/app/qbs/parser/commandlineoptionpool.cpp +++ b/src/app/qbs/parser/commandlineoptionpool.cpp @@ -70,6 +70,9 @@ CommandLineOption *CommandLineOptionPool::getOption(CommandLineOption::Type type case CommandLineOption::ProductsOptionType: option = new ProductsOption; break; + case CommandLineOption::AllArtifactsOptionType: + option = new AllArtifactsOption; + break; } } return option; @@ -125,4 +128,9 @@ ProductsOption *CommandLineOptionPool::productsOption() const return static_cast<ProductsOption *>(getOption(CommandLineOption::ProductsOptionType)); } +AllArtifactsOption *CommandLineOptionPool::allArtifactsOption() const +{ + return static_cast<AllArtifactsOption *>(getOption(CommandLineOption::AllArtifactsOptionType)); +} + } // namespace qbs |