Lines Matching refs:switches
44 namespace switches { namespace
169 SetupLogging(cl->HasSwitch(switches::kForeground), daemon_name); in OnStartup()
177 if (cl->HasSwitch(switches::kHelp)) { in main()
178 LOG(INFO) << switches::kHelpMessage; in main()
183 if (cl->HasSwitch(switches::kTechnologyOrder)) { in main()
186 switches::kTechnologyOrder); in main()
200 if (cl->HasSwitch(switches::kDeviceBlackList)) { in main()
202 cl->GetSwitchValueASCII(switches::kDeviceBlackList), ",", in main()
206 if (cl->HasSwitch(switches::kDeviceWhiteList)) { in main()
208 cl->GetSwitchValueASCII(switches::kDeviceWhiteList), ",", in main()
213 cl->HasSwitch(switches::kIgnoreUnknownEthernet); in main()
215 if (cl->HasSwitch(switches::kPortalList)) { in main()
217 settings.portal_list = cl->GetSwitchValueASCII(switches::kPortalList); in main()
220 settings.passive_mode = cl->HasSwitch(switches::kPassiveMode); in main()
222 if (cl->HasSwitch(switches::kPrependDNSServers)) { in main()
224 cl->GetSwitchValueASCII(switches::kPrependDNSServers); in main()
227 if (cl->HasSwitch(switches::kMinimumMTU)) { in main()
229 std::string value = cl->GetSwitchValueASCII(switches::kMinimumMTU); in main()
236 if (cl->HasSwitch(switches::kAcceptHostnameFrom)) { in main()
238 cl->GetSwitchValueASCII(switches::kAcceptHostnameFrom); in main()
242 if (cl->HasSwitch(switches::kDhcpv6EnabledDevices)) { in main()
244 cl->GetSwitchValueASCII(switches::kDhcpv6EnabledDevices), ",", in main()