aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_update_world-fmt.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-23 11:29:57 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-23 11:29:57 +0100
commit5c9d12948254a879d63e2eae810b982ab68758e0 (patch)
tree291663822b370ea05b2c1e956005d5a230894969 /src/clients/cave/cmd_update_world-fmt.hh
parent9a3640388f5cd19b03dc05bd534da15c6d96d5fc (diff)
downloadpaludis-5c9d12948254a879d63e2eae810b982ab68758e0.tar.gz
paludis-5c9d12948254a879d63e2eae810b982ab68758e0.tar.xz
Formattify update-world
Fixes: ticket:972
Diffstat (limited to 'src/clients/cave/cmd_update_world-fmt.hh')
-rw-r--r--src/clients/cave/cmd_update_world-fmt.hh14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/clients/cave/cmd_update_world-fmt.hh b/src/clients/cave/cmd_update_world-fmt.hh
new file mode 100644
index 000000000..3a3323d53
--- /dev/null
+++ b/src/clients/cave/cmd_update_world-fmt.hh
@@ -0,0 +1,14 @@
+/* vim: set sw=4 sts=4 et foldmethod=syntax : */
+
+const auto fs_removed = make_format_string_fetcher("update-world/removed", 1)
+ << "* Removed '" << param<'n'>() << "'" << "\\n";
+
+const auto fs_did_not_remove = make_format_string_fetcher("update-world/did_not_remove", 1)
+ << "* Nothing to remove for '" << param<'n'>() << "'" << "\\n";
+
+const auto fs_added = make_format_string_fetcher("update-world/added", 1)
+ << "* Added '" << param<'n'>() << "'" << "\\n";
+
+const auto fs_did_not_add = make_format_string_fetcher("update-world/did-not-add", 1)
+ << "* Did not need to add '" << param<'n'>() << "'" << "\\n";
+