aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/report.c
diff options
context:
space:
mode:
authorLeandro A. F. Pereira <leandro@hardinfo.org>2006-11-20 00:33:44 +0000
committerLeandro A. F. Pereira <leandro@hardinfo.org>2006-11-20 00:33:44 +0000
commite1244a5e16cf78fdf9d70009d4d0be368891eacd (patch)
tree5846e037def161f40ee9966c90d754e65c3445c9 /hardinfo2/report.c
parent2b799d97b9e112e33ca95609bef78749ad01b6ac (diff)
Cleanups
Diffstat (limited to 'hardinfo2/report.c')
-rw-r--r--hardinfo2/report.c6
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));