Skip to content

Commit 50eda67

Browse files
author
Mykola Tryshnivskyy
committed
Fixed typo error; added version help printout
1 parent 04b04e8 commit 50eda67

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/chrome/test/webdriver/webdriver_server.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,8 @@ int RunChromeDriver() {
355355
<< " JSON format with specified WD parameters as" << std::endl
356356
<< " described above (port, root, etc.)" << std::endl
357357
<< "wi-server false If true, web inspector will be enabled" << std::endl
358-
<< "wi-port 9222 Web inspector listening port" << std::endl;
358+
<< "wi-port 9222 Web inspector listening port" << std::endl
359+
<< "version Print version information to stdout and exit" << std::endl;
359360

360361
return (EXIT_SUCCESS);
361362
}
@@ -457,7 +458,7 @@ int RunChromeDriver() {
457458
}
458459
}
459460
if (cmd_line->HasSwitch("wi-port"))
460-
wi_port = QString(cmd_line->GetSwitchValueASCII("wi=port").c_str()).toInt();
461+
wi_port = QString(cmd_line->GetSwitchValueASCII("wi-port").c_str()).toInt();
461462

462463
// if (cmd_line->HasSwitch(kEnableKeepAlive))
463464
// enable_keep_alive = true;

0 commit comments

Comments
 (0)