aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_display_resolution-fmt.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-10-07 19:26:07 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-10-07 19:26:07 +0100
commitf4af49b232693d71caf264c03e9d340c586d74fd (patch)
treeb20139a096bc78dbef7ba7f36ea0ce76abd9b94e /src/clients/cave/cmd_display_resolution-fmt.hh
parent25a81a622c7e11ed7358d720eb2deb02e6b6328a (diff)
downloadpaludis-f4af49b232693d71caf264c03e9d340c586d74fd.tar.gz
paludis-f4af49b232693d71caf264c03e9d340c586d74fd.tar.xz
Be more clear when given non-existing package names
Fixes: ticket:1004
Diffstat (limited to 'src/clients/cave/cmd_display_resolution-fmt.hh')
-rw-r--r--src/clients/cave/cmd_display_resolution-fmt.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/clients/cave/cmd_display_resolution-fmt.hh b/src/clients/cave/cmd_display_resolution-fmt.hh
index c3fa79ef0..efc8238ca 100644
--- a/src/clients/cave/cmd_display_resolution-fmt.hh
+++ b/src/clients/cave/cmd_display_resolution-fmt.hh
@@ -194,6 +194,9 @@ const auto fs_unable_taken = make_format_string_fetcher("display-resolution/unab
const auto fs_unable_unsuitable_header = make_format_string_fetcher("display-resolution/unable_unsuitable_header", 1)
<< " Unsuitable candidates:" << "\\n";
+const auto fs_unable_unsuitable_nothing = make_format_string_fetcher("display-resolution/unable_unsuitable_nothing", 1)
+ << " * Found no packages for resolvent " << param<'r'>() << "\\n";
+
const auto fs_unable_unsuitable_id = make_format_string_fetcher("display-resolution/unable_unsuitable_id", 1)
<< " * " << param<'c'>() << param<'i'>() << c::normal() << "\\n";