From 3f7fab14c58167f648ba85396fda80c5addffb07 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 16 Feb 2016 10:14:41 -0500 Subject: Add missing "error:" tag to error messages. --- parse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parse.c b/parse.c index 86404c9..f9d4522 100644 --- a/parse.c +++ b/parse.c @@ -461,7 +461,7 @@ static struct expr *parse_group(struct parser_state *state, const char *option) error: pretty_error(state->cmdline->stderr_colors, - "%s %s: %s\n", option, expr->sdata, error); + "error: %s %s: %s\n", option, expr->sdata, error); fail: free_expr(expr); @@ -499,7 +499,7 @@ static struct expr *parse_user(struct parser_state *state, const char *option) { error: pretty_error(state->cmdline->stderr_colors, - "%s %s: %s\n", option, expr->sdata, error); + "error: %s %s: %s\n", option, expr->sdata, error); fail: free_expr(expr); -- cgit v1.2.3