aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_purge.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-09-02 13:55:32 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-09-02 13:55:32 +0100
commitfd46198d52e3d3c955f1c9cc11a2040b908185e9 (patch)
tree39b37cbe11196aeb08de5cbe78d0b91992585d97 /src/clients/cave/cmd_purge.cc
parent5478723fe66236f70308e9feaa1d6262b4126d9c (diff)
downloadpaludis-fd46198d52e3d3c955f1c9cc11a2040b908185e9.tar.gz
paludis-fd46198d52e3d3c955f1c9cc11a2040b908185e9.tar.xz
cave resolve --graph-jobs
Diffstat (limited to 'src/clients/cave/cmd_purge.cc')
-rw-r--r--src/clients/cave/cmd_purge.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/clients/cave/cmd_purge.cc b/src/clients/cave/cmd_purge.cc
index 7382a4ec3..704601502 100644
--- a/src/clients/cave/cmd_purge.cc
+++ b/src/clients/cave/cmd_purge.cc
@@ -51,12 +51,14 @@ namespace
std::shared_ptr<ResolveCommandLineResolutionOptions> resolution_options;
std::shared_ptr<ResolveCommandLineExecutionOptions> execution_options;
std::shared_ptr<ResolveCommandLineDisplayOptions> display_options;
+ std::shared_ptr<ResolveCommandLineGraphJobsOptions> graph_jobs_options;
std::shared_ptr<ResolveCommandLineProgramOptions> program_options;
PurgeCommandLine(const bool for_docs) :
resolution_options(for_docs ? make_null_shared_ptr() : std::make_shared<ResolveCommandLineResolutionOptions>(this)),
execution_options(for_docs ? make_null_shared_ptr() : std::make_shared<ResolveCommandLineExecutionOptions>(this)),
display_options(for_docs ? make_null_shared_ptr() : std::make_shared<ResolveCommandLineDisplayOptions>(this)),
+ graph_jobs_options(for_docs ? make_null_shared_ptr() : std::make_shared<ResolveCommandLineGraphJobsOptions>(this)),
program_options(for_docs ? make_null_shared_ptr() : std::make_shared<ResolveCommandLineProgramOptions>(this))
{
add_usage_line("[ -x|--execute ]");
@@ -112,7 +114,7 @@ PurgeCommand::run(
cmdline.resolution_options->a_purge.add_argument("*/*");
return resolve_common(env, *cmdline.resolution_options, *cmdline.execution_options, *cmdline.display_options,
- *cmdline.program_options, make_null_shared_ptr(), make_null_shared_ptr(), make_null_shared_ptr(), true);
+ *cmdline.graph_jobs_options, *cmdline.program_options, make_null_shared_ptr(), make_null_shared_ptr(), make_null_shared_ptr(), true);
}
std::shared_ptr<args::ArgsHandler>