Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ GetSwitchDelimiterLength
Method
GetSwitchDelimiterLength
cpp/iedriverserver/CommandLineArguments.cpp:80–88 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
78
}
79
80
int CommandLineArguments::GetSwitchDelimiterLength(std::wstring arg) {
81
if (arg.find(L
"--"
) == 0) {
82
return 2;
83
} else if (arg.find(L
"-"
) == 0 || arg.find(L
"/"
) == 0) {
84
return 1;
85
}
86
87
return 0;
88
}
Callers
nothing calls this directly
Calls
1
find
Method · 0.80
Tested by
no test coverage detected