aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_show-fmt.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-08 21:13:26 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-08 21:13:26 +0000
commitba814b0836ed652d48c5e808e2bb222bb6954960 (patch)
tree509abe842f21f8fea5082a8c2359c7b7de2f7271 /src/clients/cave/cmd_show-fmt.hh
parenta45befeb03430d2adcb9a92a77d6a97d565fa761 (diff)
downloadpaludis-ba814b0836ed652d48c5e808e2bb222bb6954960.tar.gz
paludis-ba814b0836ed652d48c5e808e2bb222bb6954960.tar.xz
show values for choice parameters
Diffstat (limited to 'src/clients/cave/cmd_show-fmt.hh')
-rw-r--r--src/clients/cave/cmd_show-fmt.hh9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/clients/cave/cmd_show-fmt.hh b/src/clients/cave/cmd_show-fmt.hh
index 384bea74e..f4ac48769 100644
--- a/src/clients/cave/cmd_show-fmt.hh
+++ b/src/clients/cave/cmd_show-fmt.hh
@@ -55,14 +55,19 @@ const auto fs_choice_forced_disabled = make_format_string_fetcher("show/choice_f
const auto fs_choice_disabled = make_format_string_fetcher("show/choice_disabled", 1)
<< c::red() << "-" << param<'s'>() << c::normal() << param<'r'>();
-const auto fs_metadata_value_raw = make_format_string_fetcher("show/metadata_value_raw", 1)
+const auto fs_choice_parameter = make_format_string_fetcher("show/choice_parameter", 1)
+ << "=" << param<'v'>();
+
+const auto fs_metadata_value_raw = make_format_string_fetcher("show/metadata_value_raw", 2)
<< " " << param<'i'>() << param<'i'>() << param<'i'>() << param<'i'>()
<< param_if<'b'>() << c::bold_normal() << param_endif<'b'>() << param<'s'>() << c::normal()
+ << param_if<'p'>() << "=" << param<'p'>() << param_endif<'p'>()
<< "%{column 30}" << param<'v'>() << "\\n";
-const auto fs_metadata_value_human = make_format_string_fetcher("show/metadata_value_human", 1)
+const auto fs_metadata_value_human = make_format_string_fetcher("show/metadata_value_human", 2)
<< " " << param<'i'>() << param<'i'>() << param<'i'>() << param<'i'>()
<< param_if<'b'>() << c::bold_normal() << param_endif<'b'>() << param<'s'>() << c::normal()
+ << param_if<'p'>() << "=" << param<'p'>() << param_endif<'p'>()
<< "%{column 30}" << param<'v'>() << "\\n";
const auto fs_metadata_continued_value = make_format_string_fetcher("show/metadata_continued_value", 1)