aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_display_resolution-fmt.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-19 16:17:52 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-19 16:17:52 +0000
commit30395fef3fa529fab7645a49b776d3536ab674ce (patch)
tree8ddf6b6f8ced79fe264b54de225c4b9bd31ab141 /src/clients/cave/cmd_display_resolution-fmt.hh
parent532919d8b59ef82edaba3f903af6dfbbaca8e7d4 (diff)
downloadpaludis-30395fef3fa529fab7645a49b776d3536ab674ce.tar.gz
paludis-30395fef3fa529fab7645a49b776d3536ab674ce.tar.xz
Show mask tokens
Diffstat (limited to 'src/clients/cave/cmd_display_resolution-fmt.hh')
-rw-r--r--src/clients/cave/cmd_display_resolution-fmt.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/clients/cave/cmd_display_resolution-fmt.hh b/src/clients/cave/cmd_display_resolution-fmt.hh
index 55d5375d6..36a4737a5 100644
--- a/src/clients/cave/cmd_display_resolution-fmt.hh
+++ b/src/clients/cave/cmd_display_resolution-fmt.hh
@@ -121,8 +121,10 @@ const auto fs_mask_by_valueless = make_format_string_fetcher("display-resolution
const auto fs_mask_by_repo_line = make_format_string_fetcher("display-resolution/mask_by_repo_line", 1)
<< param<'i'>() << param<'s'>() << "\\n";
-const auto fs_masked_by = make_format_string_fetcher("display-resolution/masked_by", 1)
- << param<'i'>() << param<'c'>() << "Masked by " << c::normal() << param<'d'>() << "\\n";
+const auto fs_masked_by = make_format_string_fetcher("display-resolution/masked_by", 2)
+ << param<'i'>() << param<'c'>() << "Masked by " << c::normal() << param<'d'>()
+ << param_if<'t'>() << c::blue_or_pink() << " [" << param<'t'>() << "]" << c::normal() << param_endif<'t'>()
+ << "\\n";
const auto fs_masked_by_explanation = make_format_string_fetcher("display-resolution/masked_by_explanation", 1)
<< param<'i'>() << param<'c'>() << "Masked by " << c::normal() << param<'d'>() << " (" << param<'x'>() << ")" << "\\n";