aboutsummaryrefslogtreecommitdiff
path: root/doc/api/cplusplus/examples
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-04-27 14:25:04 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-04-27 18:37:31 +0100
commit3e0904fcf929e86758328e41232e00394e2f2a66 (patch)
tree8c6e4e8e469ee8a9629578febd908b1f950f42fe /doc/api/cplusplus/examples
parentd862c6807efcc0f025f75366f03d7f4f4876f816 (diff)
downloadpaludis-3e0904fcf929e86758328e41232e00394e2f2a66.tar.gz
paludis-3e0904fcf929e86758328e41232e00394e2f2a66.tar.xz
Make fetch phases skippable too
But only do so for cave for now. Fixes: ticket:875
Diffstat (limited to 'doc/api/cplusplus/examples')
-rw-r--r--doc/api/cplusplus/examples/example_action.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/api/cplusplus/examples/example_action.cc b/doc/api/cplusplus/examples/example_action.cc
index 573d06671..d16f0a101 100644
--- a/doc/api/cplusplus/examples/example_action.cc
+++ b/doc/api/cplusplus/examples/example_action.cc
@@ -80,10 +80,11 @@ int main(int argc, char * argv[])
value_for<n::errors>(failures),
value_for<n::exclude_unmirrorable>(false),
value_for<n::fetch_parts>(FetchParts() + fp_regulars + fp_extras),
+ value_for<n::ignore_not_in_manifest>(false),
value_for<n::ignore_unfetched>(false),
value_for<n::make_output_manager>(&make_standard_output_manager),
value_for<n::safe_resume>(true),
- value_for<n::ignore_not_in_manifest>(false)
+ value_for<n::want_phase>(std::tr1::bind(return_literal_function(wp_yes)))
));
try
{