From 297740db0e078e90387507e849cb5a7b5ded2c09 Mon Sep 17 00:00:00 2001 From: Stefan Rueger Date: Sat, 13 Aug 2022 22:57:54 +0100 Subject: [PATCH] Stop listing programmers where id starts with . --- src/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.c b/src/main.c index ae9e5ea8..c135ef00 100644 --- a/src/main.c +++ b/src/main.c @@ -140,6 +140,10 @@ static void list_programmers_callback(const char *name, const char *desc, void *cookie) { struct list_walk_cookie *c = (struct list_walk_cookie *)cookie; + + if (*name == 0 || *name == '.') + return; + if (verbose){ fprintf(c->f, "%s%-16s = %-30s [%s:%d]\n", c->prefix, name, desc, cfgname, cfglineno);