Stop listing programmers where id starts with .

This commit is contained in:
Stefan Rueger 2022-08-13 22:57:54 +01:00
parent c9736a9db5
commit 297740db0e
No known key found for this signature in database
GPG Key ID: B0B4F1FD86B1EC55
1 changed files with 4 additions and 0 deletions

View File

@ -140,6 +140,10 @@ static void list_programmers_callback(const char *name, const char *desc,
void *cookie) void *cookie)
{ {
struct list_walk_cookie *c = (struct list_walk_cookie *)cookie; struct list_walk_cookie *c = (struct list_walk_cookie *)cookie;
if (*name == 0 || *name == '.')
return;
if (verbose){ if (verbose){
fprintf(c->f, "%s%-16s = %-30s [%s:%d]\n", fprintf(c->f, "%s%-16s = %-30s [%s:%d]\n",
c->prefix, name, desc, cfgname, cfglineno); c->prefix, name, desc, cfgname, cfglineno);