From 16b7b9cef70993f8cc82f3cdc47a8316cc9661bd Mon Sep 17 00:00:00 2001 From: methodus Date: Mon, 29 Oct 2012 19:47:19 +0100 Subject: Fixed empty help message. Thanks to Lucian Muresan --- upnp.cpp | 17 ++++++----------- 1 file 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-dir= 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-dir= Specifies the directory\n" + " where the the database\n" + " file shall be located.\n"; } bool cPluginUpnp::ProcessArgs(int argc, char *argv[]) -- cgit v1.2.3