aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_show-fmt.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/cave/cmd_show-fmt.hh')
-rw-r--r--src/clients/cave/cmd_show-fmt.hh24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/clients/cave/cmd_show-fmt.hh b/src/clients/cave/cmd_show-fmt.hh
index 5ac04ec56..384bea74e 100644
--- a/src/clients/cave/cmd_show-fmt.hh
+++ b/src/clients/cave/cmd_show-fmt.hh
@@ -85,3 +85,27 @@ const auto fs_package_id_masks = make_format_string_fetcher("show/package_id_mas
const auto fs_package_id_masks_overridden = make_format_string_fetcher("show/package_id_masks_overridden", 1)
<< " " << c::green_or_pink() << param<'s'>() << c::normal() << "\\n";
+const auto fs_package_heading = make_format_string_fetcher("show/package_heading", 1)
+ << "* " << c::bold_blue_or_pink() << param<'s'>() << c::normal() << "\\n";
+
+const auto fs_package_version_installed = make_format_string_fetcher("show/package_version_installed", 1)
+ << c::bold_green_or_pink() << param<'s'>() << c::normal();
+
+const auto fs_package_version_installable = make_format_string_fetcher("show/package_version_installable", 1)
+ << c::green_or_pink() << param<'s'>() << c::normal();
+
+const auto fs_package_version_unavailable = make_format_string_fetcher("show/package_version_unavailable", 1)
+ << c::red() << "(" << param<'s'>() << ")" << param<'r'>() << c::normal();
+
+const auto fs_package_repository = make_format_string_fetcher("show/package_repository", 1)
+ << " ::" << param<'s'>() << "%{column 30}";
+
+const auto fs_package_best = make_format_string_fetcher("show/package_best", 1)
+ << "*";
+
+const auto fs_package_slot = make_format_string_fetcher("show/package_slot", 1)
+ << " {:" << param<'s'>() << "}";
+
+const auto fs_package_no_slot = make_format_string_fetcher("show/package_no_slot", 1)
+ << " {no slot}";
+