diff options
author | 2011-02-26 21:22:37 +0000 | |
---|---|---|
committer | 2011-02-26 21:22:37 +0000 | |
commit | dc6cdcbdc1430403fb52ad4baf859d09b5bed1c4 (patch) | |
tree | 54eb5c530f87fda06c5476e144fcab59f352dc90 /doc | |
parent | 0c8eeda99a0bbef95e7729369ee293f526cd76a0 (diff) | |
download | paludis-dc6cdcbdc1430403fb52ad4baf859d09b5bed1c4.tar.gz paludis-dc6cdcbdc1430403fb52ad4baf859d09b5bed1c4.tar.xz |
Put repo mask info directly in the mask
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/cplusplus/examples/example_mask.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/api/cplusplus/examples/example_mask.cc b/doc/api/cplusplus/examples/example_mask.cc index fe98d6fa9..c9fd67a33 100644 --- a/doc/api/cplusplus/examples/example_mask.cc +++ b/doc/api/cplusplus/examples/example_mask.cc @@ -49,7 +49,11 @@ namespace void visit(const RepositoryMask & mask) { cout << left << setw(30) << " Class:" << " " << "RepositoryMask" << endl; - cout << left << setw(30) << " Mask key:" << " " << mask.mask_key_name() << endl; + cout << left << setw(30) << " Mask file:" << " " << mask.mask_file() << endl; + if (! mask.comment().empty()) + cout << left << setw(30) << " Comment:" << " " << mask.comment() << endl; + if (! mask.token().empty()) + cout << left << setw(30) << " Token:" << " " << mask.token() << endl; } void visit(const UnsupportedMask & mask) |