summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-04-02 12:57:17 +0200
committerJim Meyering <meyering@redhat.com>2010-04-02 13:04:05 +0200
commitba099b2939a282974b5d64573a90b19b6055f4a2 (patch)
tree0408eb8b73f45a834a7c6db9a16e6773429b4b0c /src/main.c
parent49cd40d4d2f21ebd867434e13f03fcca22c6e613 (diff)
downloadgrep-ba099b2939a282974b5d64573a90b19b6055f4a2.tar.gz
build: update gnulib submodule to latest, and adjust
* src/main.c (parse_grep_colors): Adjust diagnostics not to trigger the sc_error_message_period and sc_error_message_uppercase syntax-check rules.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/main.c b/src/main.c
index 1697c80d..b4a2e946 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1690,20 +1690,20 @@ parse_grep_colors (void)
if (val)
*(cap->var) = val;
else
- error(0, 0, _("In GREP_COLORS=\"%s\", the \"%s\" capacity "
- "needs a value (\"=...\"); skipped."), p, name);
+ error(0, 0, _("in GREP_COLORS=\"%s\", the \"%s\" capacity "
+ "needs a value (\"=...\"); skipped"), p, name);
}
else if (val)
- error(0, 0, _("In GREP_COLORS=\"%s\", the \"%s\" capacity "
- "is boolean and cannot take a value (\"=%s\"); "
- "skipped."), p, name, val);
+ error(0, 0, _("in GREP_COLORS=\"%s\", the \"%s\" capacity "
+ "is boolean and cannot take a value (\"=%s\"); skipped"),
+ p, name, val);
}
if (cap->fct)
{
const char *err_str = cap->fct();
if (err_str)
- error(0, 0, _("In GREP_COLORS=\"%s\", the \"%s\" capacity %s."),
+ error(0, 0, _("in GREP_COLORS=\"%s\", the \"%s\" capacity %s"),
p, name, err_str);
}
if (c == '\0')
@@ -1726,8 +1726,8 @@ parse_grep_colors (void)
goto ill_formed;
ill_formed:
- error(0, 0, _("Stopped processing of ill-formed GREP_COLORS=\"%s\" "
- "at remaining substring \"%s\"."), p, q);
+ error(0, 0, _("stopped processing of ill-formed GREP_COLORS=\"%s\" "
+ "at remaining substring \"%s\""), p, q);
}
int