summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormethodus <methodus@web.de>2012-10-29 19:47:19 +0100
committermethodus <methodus@web.de>2012-10-29 19:47:19 +0100
commit16b7b9cef70993f8cc82f3cdc47a8316cc9661bd (patch)
treea9c9c18f6dd24b61678a618b9b1a937ad51327d4
parent7cb03df38679712a3273bced8a7af520a0e22a7d (diff)
downloadvdr-plugin-upnp-16b7b9cef70993f8cc82f3cdc47a8316cc9661bd.tar.gz
vdr-plugin-upnp-16b7b9cef70993f8cc82f3cdc47a8316cc9661bd.tar.bz2
Fixed empty help message. Thanks to Lucian Muresan
-rw-r--r--upnp.cpp17
1 files changed, 6 insertions, 11 deletions
diff --git a/upnp.cpp b/upnp.cpp
index d443ae4..047cebe 100644
--- a/upnp.cpp
+++ b/upnp.cpp
@@ -26,17 +26,12 @@ cPluginUpnp::~cPluginUpnp()
const char *cPluginUpnp::CommandLineHelp(void)
{
- // Return a string that describes all known command line options.
- std::stringstream ss;
-
- ss << " The UPnP/DLNA server is designed to detect everything automatically.\n"
- << " Therefore the user is not required to change most of the settings.\n"
- << " \n"
- << " -d <DB directory> --db-dir=<DB directory> Specifies the directory\n"
- << " where the the database\n"
- << " file shall be located.\n";
-
- return ss.str().c_str();
+ return " The UPnP/DLNA server is designed to detect everything automatically.\n"
+ " Therefore the user is not required to change most of the settings.\n"
+ " \n"
+ " -d <DB directory> --db-dir=<DB directory> Specifies the directory\n"
+ " where the the database\n"
+ " file shall be located.\n";
}
bool cPluginUpnp::ProcessArgs(int argc, char *argv[])