diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2016-05-22 13:27:02 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2016-05-22 13:27:02 -0400 |
commit | ab76b85902f6f0be78c7c27af504be3c03d8530e (patch) | |
tree | 94467b391c8816f7c074ef0be74d706b983868bd | |
parent | 17925ac0b62771ec91a08447116514709db72af5 (diff) | |
download | bfs-ab76b85902f6f0be78c7c27af504be3c03d8530e.tar.xz |
Use complete sentences in error messages consistently.
-rw-r--r-- | parse.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |