projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c2a0292
)
Even more warnings.
author
Sebastian Goth
<seezer@roath.org>
Wed, 16 Jul 2008 17:14:58 +0000
(19:14 +0200)
committer
Sebastian Goth
<seezer@roath.org>
Wed, 16 Jul 2008 22:57:30 +0000
(
00:57
+0200)
src/common/cliparser.cpp
patch
|
blob
|
history
diff --git
a/src/common/cliparser.cpp
b/src/common/cliparser.cpp
index
9fbcacf
..
3b0064e
100644
(file)
--- 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;
}
}
return true;
}
}
+ qWarning() << "Warning: Unrecognized argument:" << name;
return false;
}
return false;
}
@@
-72,6
+73,7
@@
bool CliParser::addShortArg(const CliParserArg::CliArgType type, const char shor
}
}
}
}
}
}
+ qWarning().nospace() << "Warning: Unrecognized argument: '" << shortName << "'";
return false;
}
return false;
}