aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_update_world.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/cave/cmd_update_world.cc')
-rw-r--r--src/clients/cave/cmd_update_world.cc11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/clients/cave/cmd_update_world.cc b/src/clients/cave/cmd_update_world.cc
index cc4d1ce22..4cf257a9f 100644
--- a/src/clients/cave/cmd_update_world.cc
+++ b/src/clients/cave/cmd_update_world.cc
@@ -18,6 +18,7 @@
*/
#include "cmd_update_world.hh"
+#include "format_user_config.hh"
#include <paludis/args/args.hh>
#include <paludis/args/do_help.hh>
#include <paludis/util/wrapped_forward_iterator.hh>
@@ -44,6 +45,8 @@ using std::endl;
namespace
{
+#include "cmd_update_world-fmt.hh"
+
struct UpdateWorldCommandLine :
CaveCommandCommandLine
{
@@ -150,16 +153,16 @@ UpdateWorldCommand::run(
if (cmdline.a_remove.specified())
{
if (result)
- cout << "* Removed '" << name << "'" << endl;
+ cout << fuc(fs_removed(), fv<'n'>(stringify(name)));
else
- cout << "* Did not remove '" << name << "'" << endl;
+ cout << fuc(fs_did_not_remove(), fv<'n'>(stringify(name)));
}
else
{
if (result)
- cout << "* Added '" << name << "'" << endl;
+ cout << fuc(fs_added(), fv<'n'>(stringify(name)));
else
- cout << "* Did not need to add '" << name << "'" << endl;
+ cout << fuc(fs_did_not_add(), fv<'n'>(stringify(name)));
}
}
}