decoder_list: print decoder list with suffixes

Print the list of suffixes supported by each decoder, instead of
prining a list of all suffixes of all decoders with duplicates.
This commit is contained in:
Max Kellermann
2009-02-28 15:29:51 +01:00
parent 1bb0124b77
commit 5ea8a0df3f
3 changed files with 12 additions and 29 deletions

View File

@@ -47,13 +47,9 @@ static void version(void)
"This is free software; see the source for copying conditions. There is NO\n"
"warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
"\n"
"Supported formats:\n");
"Supported decoders:\n");
decoder_plugin_init_all();
decoder_plugin_print_all_suffixes(stdout);
puts("\n"
"Supported decoders:\n");
decoder_plugin_print_all_decoders(stdout);
puts("\n"