mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fix listing of supported plugins (hooks, api, node types)
This commit is contained in:
parent
1510da9bae
commit
4e9c04755e
1 changed files with 4 additions and 2 deletions
|
@ -82,6 +82,8 @@ struct plugin * plugin_lookup(enum plugin_type type, const char *name)
|
|||
|
||||
void plugin_dump(enum plugin_type type)
|
||||
{
|
||||
list_foreach(struct plugin *p, &plugins)
|
||||
printf(" - %s: %s\n", p->name, p->description);
|
||||
list_foreach(struct plugin *p, &plugins) {
|
||||
if (p->type == type)
|
||||
printf(" - %-12s: %s\n", p->name, p->description);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue