diff options
Diffstat (limited to 'src/client/main.cpp')
-rw-r--r-- | src/client/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/main.cpp b/src/client/main.cpp index 2730475..d0c6bd9 100644 --- a/src/client/main.cpp +++ b/src/client/main.cpp @@ -2,12 +2,16 @@ #include "clientapp/clientapp.h" #include "util/util.h" + +/* instantiates the ClientApp, handles some extra parameters and starts the + * main-loop of ClientApp */ int main(int argc, char** argv) { ClientApp app(argc, argv); qsrand((uint)QDateTime::currentMSecsSinceEpoch()); + /* here we handle the arguments that were not handled by ClientApp */ for (QString a : app.arguments()) { if (a == "--usage" || a == "--help") { qStdout() << "Usage: pvsclient [--exam-mode] [--auto|--session=xxx|\"\"]" << endl; |