commit 20514eca1903e2e9dc65a9df106b7b623bb7839d
parent f54f12263741a36be85c951f6aee6fd5225abc6f
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Mon, 11 Mar 2019 08:49:47 +0100
feedback: make two error messages better match the option
And keep them identical.
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/nano.c b/src/nano.c
@@ -2139,7 +2139,7 @@ int main(int argc, char **argv)
#endif
case 'J':
if (!parse_num(optarg, &stripe_column) || stripe_column <= 0) {
- fprintf(stderr, _("Stripe column \"%s\" is invalid"), optarg);
+ fprintf(stderr, _("Guide column \"%s\" is invalid"), optarg);
fprintf(stderr, "\n");
exit(1);
}
diff --git a/src/rcfile.c b/src/rcfile.c
@@ -1122,7 +1122,7 @@ void parse_rcfile(FILE *rcstream, bool syntax_only)
#ifndef NANO_TINY
if (strcasecmp(rcopts[i].name, "guidestripe") == 0) {
if (!parse_num(option, &stripe_column) || stripe_column <= 0) {
- rcfile_error(N_("Edge column \"%s\" is invalid"), option);
+ rcfile_error(N_("Guide column \"%s\" is invalid"), option);
stripe_column = 0;
}
free(option);