summaryrefslogtreecommitdiffstats
path: root/src/client/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/main.cpp')
-rw-r--r--src/client/main.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/client/main.cpp b/src/client/main.cpp
index d0c6bd9..61ca0e9 100644
--- a/src/client/main.cpp
+++ b/src/client/main.cpp
@@ -8,20 +8,20 @@
int main(int argc, char** argv)
{
- ClientApp app(argc, argv);
- qsrand((uint)QDateTime::currentMSecsSinceEpoch());
+ 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;
- exit(0);
- } else if (a.contains("pvsclient")) {
- /* do nothing */
- } else {
- qStdout() << "Unknown argument: " << a << endl;
- exit(1);
- }
- }
- return app.exec();
+ /* 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;
+ exit(0);
+ } else if (a.contains("pvsclient")) {
+ /* do nothing */
+ } else {
+ qStdout() << "Unknown argument: " << a << endl;
+ exit(1);
+ }
+ }
+ return app.exec();
}