projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adopted --debugbufferswitches and --debugmodel to cliparser.
[quassel.git]
/
src
/
common
/
main.cpp
diff --git
a/src/common/main.cpp
b/src/common/main.cpp
index
f51f6b2
..
bac4308
100644
(file)
--- a/
src/common/main.cpp
+++ b/
src/common/main.cpp
@@
-89,6
+89,8
@@
int main(int argc, char **argv) {
#endif // BUILD_QTUI
#ifndef BUILD_CORE
// put client-only arguments here
#endif // BUILD_QTUI
#ifndef BUILD_CORE
// put client-only arguments here
+ Global::parser.addSwitch("debugbufferswitches",0,"Enables debugging for bufferswitches");
+ Global::parser.addSwitch("debugmodel",0,"Enables debugging for models");
#endif // BUILD_QTCORE
// put shared client&core arguments here
Global::parser.addSwitch("debug",'d',"Enable debug output");
#endif // BUILD_QTCORE
// put shared client&core arguments here
Global::parser.addSwitch("debug",'d',"Enable debug output");