aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/format_package_id.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-09-14 22:02:12 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-09-14 22:02:12 +0100
commit3b9197aaab35a1ac0c61875447a86f336e486754 (patch)
tree23df88955e1550c6c99a90c029db410e384e2f9d /src/clients/cave/format_package_id.cc
parent28999f22597798c5be6849f3d570784e142c7bf1 (diff)
downloadpaludis-3b9197aaab35a1ac0c61875447a86f336e486754.tar.gz
paludis-3b9197aaab35a1ac0c61875447a86f336e486754.tar.xz
s for formatting parallel slot, and S for raw slot
Diffstat (limited to 'src/clients/cave/format_package_id.cc')
-rw-r--r--src/clients/cave/format_package_id.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/clients/cave/format_package_id.cc b/src/clients/cave/format_package_id.cc
index d48288b6b..3e12359ee 100644
--- a/src/clients/cave/format_package_id.cc
+++ b/src/clients/cave/format_package_id.cc
@@ -45,7 +45,8 @@ paludis::cave::format_package_id(
m->insert('c', stringify(id->name().category()));
m->insert('p', stringify(id->name().package()));
m->insert('v', stringify(id->version()));
- m->insert('s', id->slot_key() ? stringify(id->slot_key()->parse_value().raw_value()) : "");
+ m->insert('s', id->slot_key() ? stringify(id->slot_key()->parse_value().parallel_value()) : "");
+ m->insert('S', id->slot_key() ? stringify(id->slot_key()->parse_value().raw_value()) : "");
m->insert(':', id->slot_key() ? ":" : "");
m->insert('r', stringify(id->repository_name()));
m->insert('F', id->canonical_form(idcf_full));