diff options
author | methodus <methodus@web.de> | 2012-10-29 19:47:19 +0100 |
---|---|---|
committer | methodus <methodus@web.de> | 2012-10-29 19:47:19 +0100 |
commit | 16b7b9cef70993f8cc82f3cdc47a8316cc9661bd (patch) | |
tree | a9c9c18f6dd24b61678a618b9b1a937ad51327d4 | |
parent | 7cb03df38679712a3273bced8a7af520a0e22a7d (diff) | |
download | vdr-plugin-upnp-16b7b9cef70993f8cc82f3cdc47a8316cc9661bd.tar.gz vdr-plugin-upnp-16b7b9cef70993f8cc82f3cdc47a8316cc9661bd.tar.bz2 |
Fixed empty help message. Thanks to Lucian Muresan
-rw-r--r-- | upnp.cpp | 17 |
1 files changed, 6 insertions, 11 deletions
@@ -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[]) |