summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2016-05-22 13:27:02 -0400
committerTavian Barnes <tavianator@tavianator.com>2016-05-22 13:27:02 -0400
commitab76b85902f6f0be78c7c27af504be3c03d8530e (patch)
tree94467b391c8816f7c074ef0be74d706b983868bd
parent17925ac0b62771ec91a08447116514709db72af5 (diff)
downloadbfs-ab76b85902f6f0be78c7c27af504be3c03d8530e.tar.xz
Use complete sentences in error messages consistently.
-rw-r--r--parse.c6
1 files changed, 3 insertions, 3 deletions
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);