diff options
Diffstat (limited to 'src/CommandLine.cxx')
-rw-r--r-- | src/CommandLine.cxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/CommandLine.cxx b/src/CommandLine.cxx index 58d07ddb7..59cb53534 100644 --- a/src/CommandLine.cxx +++ b/src/CommandLine.cxx @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2013 The Music Player Daemon Project + * Copyright (C) 2003-2014 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -23,6 +23,8 @@ #include "LogInit.hxx" #include "Log.hxx" #include "ConfigGlobal.hxx" +#include "DatabaseRegistry.hxx" +#include "DatabasePlugin.hxx" #include "DecoderList.hxx" #include "DecoderPlugin.hxx" #include "OutputList.hxx" @@ -89,10 +91,16 @@ static void version(void) puts("Music Player Daemon " VERSION "\n" "\n" "Copyright (C) 2003-2007 Warren Dukes <warren.dukes@gmail.com>\n" - "Copyright (C) 2008-2013 Max Kellermann <max@duempel.org>\n" + "Copyright (C) 2008-2014 Max Kellermann <max@duempel.org>\n" "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" + "Database plugins:"); + + for (auto i = database_plugins; *i != nullptr; ++i) + printf(" %s", (*i)->name); + + puts("\n\n" "Decoders plugins:"); decoder_plugins_for_each([](const DecoderPlugin &plugin){ |