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

Function config_print_unknown_key

src/cli/cli.c:6828–6834  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6826}
6827
6828static void config_print_unknown_key(const char *key) {
6829 (void)fprintf(stderr, "error: unknown config key: %s\nKnown keys:", key ? key : "");
6830 for (size_t i = 0; i < sizeof(CONFIG_KEYS) / sizeof(CONFIG_KEYS[0]); i++) {
6831 (void)fprintf(stderr, " %s", CONFIG_KEYS[i].key);
6832 }
6833 (void)fprintf(stderr, "\n");
6834}
6835
6836int cbm_cmd_config(int argc, char **argv) {
6837 /* NULL argv with a nonzero argc previously slipped past this guard (the

Callers 1

cbm_cmd_configFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected