From d2850ca3bbdaae2b4ba49def6900858410f55ea8 Mon Sep 17 00:00:00 2001 From: Sherman Rofeman Date: Tue, 1 Aug 2023 21:03:53 -0300 Subject: [PATCH] ~% add new format for error messages --- reveal.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/reveal.c b/reveal.c index 3dfcb67..3802fae 100644 --- a/reveal.c +++ b/reveal.c @@ -8,7 +8,7 @@ #include #define program_name__ "reveal" -#define program_version__ "v9.0.3" +#define program_version__ "v9.0.4" #define program_copyright__ "Copyright (c) Sherman Rofeman. MIT license." #define program_support_url__ "https://github.com/skippyr/reveal/issues" #define program_help__\ @@ -152,11 +152,12 @@ Write_Error( ) { fprintf( - stderr, "%s:\n %s%s%s\n%s%s%s", program_name__, - Parse_Null_String__(description_split_0), + stderr, "Error Report - %s (1):\n Description:\n %s%s%s\n%s%s%s", + program_name__, Parse_Null_String__(description_split_0), Parse_Null_String__(description_split_1), - Parse_Null_String__(description_split_2), suggestion ? " " : "", - Parse_Null_String__(suggestion), suggestion ? "\n" : "" + Parse_Null_String__(description_split_2), suggestion ? "\n " + "Suggestion:\n " : "", Parse_Null_String__(suggestion), suggestion ? + "\n" : "" ); OPTIONS |= had_error_bit__; return (1);