diff options
author | Avuton Olrich <avuton@gmail.com> | 2009-03-03 08:01:42 -0800 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-03-03 21:25:19 +0100 |
commit | e7f034dceff196b7588bca995a5e22bd480f71ca (patch) | |
tree | 47001ccd8bd98bc84925f8925b250458cb39b26a /src/cmdline.c | |
parent | 0f64e658fd34923a3be815582be500b8248019a0 (diff) | |
download | mpd-e7f034dceff196b7588bca995a5e22bd480f71ca.tar.gz mpd-e7f034dceff196b7588bca995a5e22bd480f71ca.tar.xz mpd-e7f034dceff196b7588bca995a5e22bd480f71ca.zip |
cmdline: Print available protocols when --version is run.
Diffstat (limited to 'src/cmdline.c')
-rw-r--r-- | src/cmdline.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cmdline.c b/src/cmdline.c index b0cdbfb2f..e37cea737 100644 --- a/src/cmdline.c +++ b/src/cmdline.c @@ -23,6 +23,7 @@ #include "decoder_list.h" #include "config.h" #include "audioOutput.h" +#include "ls.h" #ifdef ENABLE_ARCHIVE #include "archive_list.h" @@ -63,6 +64,10 @@ static void version(void) archive_plugin_print_all_suffixes(stdout); #endif + puts("\n" + "Supported protocols:\n"); + print_supported_uri_schemes_to_fp(stdout); + exit(EXIT_SUCCESS); } |