From 5d12a2696e87c9ab5a92e55b01972d543b7661d9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 13 Nov 2014 18:00:07 +0100 Subject: command: export some option metadata This might be interesting for GUIs and such. It's probably still a little bit insufficient. For example, the filter and audio/video output lists are not available through this. --- options/m_option.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options/m_option.c') diff --git a/options/m_option.c b/options/m_option.c index 37186d01cc..97ba467ed4 100644 --- a/options/m_option.c +++ b/options/m_option.c @@ -696,7 +696,7 @@ static char *print_choice(const m_option_t *opt, const void *val) } const struct m_option_type m_option_type_choice = { - .name = "String", // same as arbitrary strings in option list for now + .name = "Choice", .size = sizeof(int), .parse = parse_choice, .print = print_choice, -- cgit v1.2.3