MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / main_cli_flag_present

Function main_cli_flag_present

src/main.c:1527–1537  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1525}
1526
1527static bool main_cli_flag_present(int argc, char **argv, const char *flag) {
1528 if (!argv || !flag) {
1529 return false;
1530 }
1531 for (int index = 1; index < argc; index++) {
1532 if (argv[index] && strcmp(argv[index], flag) == 0) {
1533 return true;
1534 }
1535 }
1536 return false;
1537}
1538
1539static bool main_local_cli_feedback_enabled(int argc, char **argv) {
1540 bool requested = false;

Callers 2

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected