MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / has_arg

Function has_arg

app/server/main.cpp:35–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35bool has_arg(int argc, char ** argv, const std::string & name) {
36 for (int i = 1; i < argc; ++i) {
37 if (argv[i] == name) {
38 return true;
39 }
40 }
41 return false;
42}
43
44void print_help() {
45 std::cout

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected