From 33eb4645cae0e57918e779d5892ebb7d14ffb485 Mon Sep 17 00:00:00 2001 From: Burt P Date: Wed, 24 Oct 2018 01:48:53 -0500 Subject: report: add "shell" report format Just dumps the conf/keyfile-format output. Very useful for development. Try `hardinfo -s -w -r -f shell >shell_dump.txt` Signed-off-by: Burt P --- includes/report.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'includes') diff --git a/includes/report.h b/includes/report.h index 931a536e..1c1bd420 100644 --- a/includes/report.h +++ b/includes/report.h @@ -24,6 +24,7 @@ typedef enum { REPORT_FORMAT_HTML, REPORT_FORMAT_TEXT, + REPORT_FORMAT_SHELL, N_REPORT_FORMAT } ReportFormat; @@ -81,6 +82,7 @@ void report_dialog_show(); ReportContext *report_context_html_new(); ReportContext *report_context_text_new(); +ReportContext *report_context_shell_new(); void report_header (ReportContext *ctx); void report_footer (ReportContext *ctx); -- cgit v1.2.3