From: Sebastian Goth Date: Wed, 16 Jul 2008 17:14:58 +0000 (+0200) Subject: Even more warnings. X-Git-Tag: 0.3.0~260 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=6d6d0fcad8a01c5d232890416ad797b2fcb28c48;ds=sidebyside Even more warnings. --- diff --git a/src/common/cliparser.cpp b/src/common/cliparser.cpp index 9fbcacfe..3b0064e7 100644 --- a/src/common/cliparser.cpp +++ b/src/common/cliparser.cpp @@ -50,6 +50,7 @@ bool CliParser::addLongArg(const CliParserArg::CliArgType type, const QString &n return true; } } + qWarning() << "Warning: Unrecognized argument:" << name; return false; } @@ -72,6 +73,7 @@ bool CliParser::addShortArg(const CliParserArg::CliArgType type, const char shor } } } + qWarning().nospace() << "Warning: Unrecognized argument: '" << shortName << "'"; return false; }