diff options
Diffstat (limited to 'hardinfo2/report.c')
-rw-r--r-- | hardinfo2/report.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hardinfo2/report.c b/hardinfo2/report.c index 4b29827e..e6b3a08f 100644 --- a/hardinfo2/report.c +++ b/hardinfo2/report.c @@ -306,11 +306,17 @@ report_create_inner_from_module_list(ReportContext *ctx, GSList *modules) ShellModule *module = (ShellModule *) modules->data; GSList *entries; + if (!gui_running) + fprintf(stderr, "%s\n", module->name); + report_title(ctx, module->name); for (entries = module->entries; entries; entries = entries->next) { ShellModuleEntry *entry = (ShellModuleEntry *) entries->data; + if (!gui_running) + fprintf(stderr, " * %s\n", entry->name); + ctx->entry = entry; report_subtitle(ctx, entry->name); report_table(ctx, entry->func(entry->number)); |