aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_show-fmt.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/cave/cmd_show-fmt.hh')
-rw-r--r--src/clients/cave/cmd_show-fmt.hh9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/clients/cave/cmd_show-fmt.hh b/src/clients/cave/cmd_show-fmt.hh
index 7f273bc86..a3a6e7e29 100644
--- a/src/clients/cave/cmd_show-fmt.hh
+++ b/src/clients/cave/cmd_show-fmt.hh
@@ -58,6 +58,15 @@ const auto fs_choice_disabled = make_format_string_fetcher("show/choice_disabled
const auto fs_choice_parameter = make_format_string_fetcher("show/choice_parameter", 1)
<< "=" << param<'v'>();
+const auto fs_permitted_choice_value_int = make_format_string_fetcher("show/permitted_choice_value_int", 1)
+ << "%{column 30}Should be an integer" << param_if<'r'>() << " " << param<'r'>() << param_endif<'r'>() << "\\n";
+
+const auto fs_permitted_choice_value_enum_values = make_format_string_fetcher("show/permitted_choice_value_enum_values", 1)
+ << "%{column 30}Permitted values:" << "\\n";
+
+const auto fs_permitted_choice_value_enum_value = make_format_string_fetcher("show/permitted_choice_value_enum_value", 1)
+ << "%{column 40}" << param<'v'>() << param_if<'d'>() << ": " << "%{column 55}" << param<'d'>() << param_endif<'d'>() << "\\n";
+
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()