From ab76b85902f6f0be78c7c27af504be3c03d8530e Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 22 May 2016 13:27:02 -0400 Subject: Use complete sentences in error messages consistently. --- parse.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'parse.c') diff --git a/parse.c b/parse.c index 8c02348..30ee491 100644 --- a/parse.c +++ b/parse.c @@ -593,7 +593,7 @@ static struct expr *parse_exec(struct parser_state *state, enum execflags flags) if (flags & EXEC_MULTI) { pretty_error(state->cmdline->stderr_colors, - "error: %s ... {} + is not supported yet\n", state->argv[0]); + "error: %s ... {} + is not supported yet.\n", state->argv[0]); return NULL; } @@ -638,7 +638,7 @@ static struct expr *parse_group(struct parser_state *state) { error: pretty_error(state->cmdline->stderr_colors, - "error: %s %s: %s\n", arg, expr->sdata, error); + "error: %s %s: %s.\n", arg, expr->sdata, error); fail: free_expr(expr); @@ -679,7 +679,7 @@ static struct expr *parse_user(struct parser_state *state) { error: pretty_error(state->cmdline->stderr_colors, - "error: %s %s: %s\n", arg, expr->sdata, error); + "error: %s %s: %s.\n", arg, expr->sdata, error); fail: free_expr(expr); -- cgit v1.2.3