From e1244a5e16cf78fdf9d70009d4d0be368891eacd Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Mon, 20 Nov 2006 00:33:44 +0000 Subject: Cleanups --- hardinfo2/report.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'hardinfo2/report.c') 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)); -- cgit v1.2.3