aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmdline.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-06-12 22:24:42 +0200
committerMax Kellermann <max@duempel.org>2012-06-12 22:24:42 +0200
commiteda7410f4c87e29e0c77950963a7b9ccf7069097 (patch)
tree27de2c22f354ca57ca0066296a1739e49074fc81 /src/cmdline.c
parente60141b4dd726d78f3c33bb02e53d1c0f9e670a5 (diff)
downloadmpd-eda7410f4c87e29e0c77950963a7b9ccf7069097.tar.gz
mpd-eda7410f4c87e29e0c77950963a7b9ccf7069097.tar.xz
mpd-eda7410f4c87e29e0c77950963a7b9ccf7069097.zip
cmdline: dump list of input plugins
Diffstat (limited to 'src/cmdline.c')
-rw-r--r--src/cmdline.c7
1 files changed, 7 insertions, 0 deletions
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);