aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_display_resolution-fmt.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-11-01 21:50:14 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-11-01 21:50:14 +0000
commit2a7972977a6a8be0484eca6935d997ffb607811d (patch)
tree9a20db52ff0508e0739a6d768dc8373b4dbb5d4b /src/clients/cave/cmd_display_resolution-fmt.hh
parent9b2bf67bde2d38555e9c17305da932a379f61adf (diff)
downloadpaludis-2a7972977a6a8be0484eca6935d997ffb607811d.tar.gz
paludis-2a7972977a6a8be0484eca6935d997ffb607811d.tar.xz
Show which reasons need changes
Diffstat (limited to 'src/clients/cave/cmd_display_resolution-fmt.hh')
-rw-r--r--src/clients/cave/cmd_display_resolution-fmt.hh16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/clients/cave/cmd_display_resolution-fmt.hh b/src/clients/cave/cmd_display_resolution-fmt.hh
index befcad84a..41c8262cd 100644
--- a/src/clients/cave/cmd_display_resolution-fmt.hh
+++ b/src/clients/cave/cmd_display_resolution-fmt.hh
@@ -74,8 +74,20 @@ const auto fs_choices_need_changes = make_format_string_fetcher("display-resolut
const auto fs_choices = make_format_string_fetcher("display-resolution/choices", 1)
<< " " << param<'u'>() << "\\n";
-const auto fs_reasons = make_format_string_fetcher("display-resolution/reasons", 1)
- << " Reasons: ";
+const auto fs_reasons_start = make_format_string_fetcher("display-resolution/reasons_start", 1)
+ << " ";
+
+const auto fs_reasons = make_format_string_fetcher("display-resolution/reasons", 2)
+ << "Reasons: ";
+
+const auto fs_changes_reasons_start = make_format_string_fetcher("display-resolution/changes_reasons_start", 1)
+ << c::bold_red() << "Reasons requiring changes: " << c::normal();
+
+const auto fs_changes_reasons_end = make_format_string_fetcher("display-resolution/changes_reasons_end", 1)
+ << " ";
+
+const auto fs_reason_changes = make_format_string_fetcher("display-resolution/reason_changes", 1)
+ << param<'c'>() << c::bold_yellow() << param<'r'>() << c::normal();
const auto fs_reason_special = make_format_string_fetcher("display-resolution/reason_special", 1)
<< param<'c'>() << c::bold_yellow() << param<'r'>() << c::normal();