mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-28 06:55:27 +00:00
Stop listing programmers where id starts with .
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user