MCPcopy Create free account
hub / github.com/crownengine/crown / has_option

Method has_option

src/core/command_line.cpp:73–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73bool CommandLine::has_option(const char *longopt, char shortopt)
74{
75 return find_option(_argc, _argv, longopt, shortopt) < _argc;
76}
77
78} // namespace crown

Callers 5

test_command_lineFunction · 0.80
parseMethod · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls 1

find_optionFunction · 0.85

Tested by 1

test_command_lineFunction · 0.64