From 6514b3a2f5ed8c593d7d49526a27122989e673d0 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Mon, 9 Mar 2020 12:54:05 +0200 Subject: First round of message improvements. --- builtin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'builtin.c') diff --git a/builtin.c b/builtin.c index 8be3b9ea..4c3817b0 100644 --- a/builtin.c +++ b/builtin.c @@ -141,7 +141,7 @@ wrerror: if ((rp != NULL) ? is_non_fatal_redirect(rp->value, strlen(rp->value)) : is_non_fatal_std(fp)) update_ERRNO_int(errno); else - fatal(_("%s to \"%s\" failed (%s)"), from, + fatal(_("%s to \"%s\" failed: %s"), from, rp != NULL ? rp->value : fp == stdout @@ -924,11 +924,11 @@ check_pos: fw = 0; used_dollar = true; if (argnum <= 0) { - msg(_("fatal: arg count with `$' must be > 0")); + msg(_("fatal: argument index with `$' must be > 0")); goto out; } if (argnum >= num_args) { - msg(_("fatal: arg count %ld greater than total number of supplied arguments"), argnum); + msg(_("fatal: argument index %ld greater than total number of supplied arguments"), argnum); goto out; } } else { -- cgit v1.2.3