Lines Matching refs:switches
23 #include "gn/switches.h"
98 PrintShortHelp("switches: Show available command-line switches.",
104 bool is_markdown = cmdline->HasSwitch(switches::kMarkdown);
108 // labeled "switches".
109 PrintLongHelp(R"(Available global switches
112 take command-specific switches not listed here. See the help on your specific
120 for (const auto& s : switches::GetSwitches())
131 bool is_markdown = cmdline->HasSwitch(switches::kMarkdown);
216 const switches::SwitchInfoMap& all = switches::GetSwitches();
217 switches::SwitchInfoMap::const_iterator found =
263 // If no argument is specified, check for switches to allow things like
265 const base::CommandLine::SwitchMap& switches =
267 if (switches.empty()) {
276 if (!PrintHelpOnSwitch(switches.begin()->first))
354 random_topics["switches"] = PrintSwitchHelp;