Skip to content

Commit 57a59b3

Browse files
author
hekra01
authored
Update main.cc
1 parent ae46196 commit 57a59b3

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/Test/main.cc

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ void PrintHelp();
2828

2929
int main(int argc, char *argv[])
3030
{
31+
// Application specific code
3132
base::AtExitManager exit;
3233
QApplication app(argc, argv);
3334
app.setQuitOnLastWindowClosed(false);
@@ -42,21 +43,14 @@ int main(int argc, char *argv[])
4243
cmd_line.InitFromArgv(argc, argv);
4344
#endif
4445

45-
// check if --help CL argument is present
4646
if (cmd_line.HasSwitch("help")) {
4747
PrintHelp();
4848
return 0;
4949
}
50-
51-
// check if --version CL argument is present
5250
if (cmd_line.HasSwitch("version")) {
5351
PrintVersion();
5452
return 0;
5553
}
56-
57-
// Application specific code
58-
// ....
59-
// ....
6054

6155
// Start webdriver
6256
int startError = wd_setup(argc, argv);
@@ -135,4 +129,4 @@ void PrintHelp() {
135129
<< " Option from webserver config file will have" << std::endl
136130
<< " more priority than commandline param" << std::endl
137131
<< " that specify the same option." << std::endl;
138-
}
132+
}

0 commit comments

Comments
 (0)