aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-10-29 15:11:28 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-10-29 15:11:28 +0100
commita163c1907f9a7fd6b8c0e243b335247b8bde7e46 (patch)
treee3c3c31b0e97ceb9a82641f496628f76c29d772a
parentbfa380a8baa26cb5a4c26ec06a3e525aa07de526 (diff)
downloadpaludis-a163c1907f9a7fd6b8c0e243b335247b8bde7e46.tar.gz
paludis-a163c1907f9a7fd6b8c0e243b335247b8bde7e46.tar.xz
Fix cave show choice names
Fixes: ticket:1028
-rw-r--r--src/clients/cave/cmd_show.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clients/cave/cmd_show.cc b/src/clients/cave/cmd_show.cc
index d4b428c..4d43318 100644
--- a/src/clients/cave/cmd_show.cc
+++ b/src/clients/cave/cmd_show.cc
@@ -771,7 +771,7 @@ namespace
out << fuc(
(cmdline.a_raw_names.specified() ? fs_metadata_value_raw() : fs_metadata_value_human()),
- fv<'s'>(cmdline.a_raw_names.specified() ? k.raw_name() : k.human_name()),
+ fv<'s'>(cmdline.a_raw_names.specified() ? (*c)->raw_name() : (*c)->human_name()),
fv<'v'>(""),
fv<'i'>(std::string(indent + 1, ' ')),
fv<'b'>(important ? "true" : "")