From eda7410f4c87e29e0c77950963a7b9ccf7069097 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 12 Jun 2012 22:24:42 +0200 Subject: [PATCH] cmdline: dump list of input plugins --- src/cmdline.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/cmdline.c b/src/cmdline.c index b419d746c..c93a34cc6 100644 --- a/src/cmdline.c +++ b/src/cmdline.c @@ -25,6 +25,8 @@ #include "decoder_list.h" #include "decoder_plugin.h" #include "output_list.h" +#include "input_registry.h" +#include "input_plugin.h" #include "playlist_list.h" #include "playlist_plugin.h" #include "ls.h" @@ -107,6 +109,11 @@ static void version(void) #endif puts("\n" + "Input plugins:"); + input_plugins_for_each(plugin) + printf(" %s", plugin->name); + + puts("\n\n" "Playlist plugins:"); playlist_plugins_for_each(plugin) printf(" %s", plugin->name);