Skip to content

Commit 2b1aba7

Browse files
committed
docs(cli): say what a warm daemon gives hooks in --help
Hooks never start a daemon. Without one they skip graph augmentation and print a throttled notice that points at `daemon start` (main_hook_report_absent_daemon), so a hook has no per-command daemon start-up to skip. What a warm daemon gives hooks is the graph context itself. Reword the second half of the daemon help entry to say that. The CLI half stays: it matches the hint a one-shot CLI command prints after it had to start a temporary daemon. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
1 parent b2a0a2c commit 2b1aba7

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎src/main.c‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,8 +1111,9 @@ static void print_help(void) {
11111111
printf(" codebase-memory-mcp update [-y|-n]\n");
11121112
printf(" codebase-memory-mcp config <list|get|set|reset>\n");
11131113
printf(" codebase-memory-mcp daemon <start|stop|status>\n");
1114-
printf(" start keeps a daemon warm so CLI calls and\n");
1115-
printf(" hooks skip the per-command daemon start-up\n");
1114+
printf(" start keeps a daemon warm: CLI calls skip\n");
1115+
printf(" the per-command start-up, and hooks add\n");
1116+
printf(" graph context only while a daemon runs\n");
11161117
printf(" codebase-memory-mcp --version Print version\n");
11171118
printf(" codebase-memory-mcp --help Print this help\n");
11181119
printf("\nCLI output options:\n");

0 commit comments

Comments
 (0)