aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-07-14 03:22:25 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-07-14 03:28:55 +0100
commitd36edaf6d906c3a011adf8e304f84677abcd81e3 (patch)
tree6a496b892941eded2485693379344cd0afc23e4f
parente86d42aaeeab8ef443bf7cdcaf19392651ed71d8 (diff)
downloadpaludis-d36edaf6d906c3a011adf8e304f84677abcd81e3.tar.gz
paludis-d36edaf6d906c3a011adf8e304f84677abcd81e3.tar.xz
Update examples for previous (continued)
-rw-r--r--doc/api/cplusplus/examples/example_dep_spec.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/api/cplusplus/examples/example_dep_spec.cc b/doc/api/cplusplus/examples/example_dep_spec.cc
index b0adb8d..1819b7e 100644
--- a/doc/api/cplusplus/examples/example_dep_spec.cc
+++ b/doc/api/cplusplus/examples/example_dep_spec.cc
@@ -103,8 +103,11 @@ int main(int argc, char * argv[])
if (spec.slot_requirement_ptr())
cout << " " << left << setw(24) << "Slot:" << " " << *spec.slot_requirement_ptr() << endl;
- if (spec.repository_ptr())
- cout << " " << left << setw(24) << "Repository:" << " " << *spec.repository_ptr() << endl;
+ if (spec.in_repository_ptr())
+ cout << " " << left << setw(24) << "In repository:" << " " << *spec.in_repository_ptr() << endl;
+
+ if (spec.from_repository_ptr())
+ cout << " " << left << setw(24) << "From repository:" << " " << *spec.from_repository_ptr() << endl;
if (spec.additional_requirements_ptr() && ! spec.additional_requirements_ptr()->empty())
{