Skip to content

Commit 9fe628d

Browse files
committed
fix(prm): resolve undeclared 'pname' in src/main.c
1 parent d174f6d commit 9fe628d

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/main.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -365,13 +365,10 @@ static int dispatchPRM(int argc, const char* argv[]) {
365365
}
366366

367367
} else if (strcmp(sub, "test") == 0) {
368-
printf("Running tests for %s...\n", pname);
369-
printf("Tests passed! (0 failures)\n");
368+
prm_test(&m);
370369

371370
} else if (strcmp(sub, "watch") == 0) {
372-
printf("Starting watch mode for %s...\n", pname);
373-
printf("Watching for file changes...\n");
374-
printf("(Watch mode not fully implemented yet)\n");
371+
prm_watch(&m);
375372
}
376373

377374
// ---- Dependency Commands ----

0 commit comments

Comments
 (0)