coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] join: fix error message for -a and -v


From: Pádraig Brady
Subject: [PATCH] join: fix error message for -a and -v
Date: Fri, 12 Apr 2024 20:27:14 +0100

* src/join.c (main): s/field/file/ in the error message
for -a and -v, introduced in TEXTUTILS-1_13-24-g6f63d53e1.
Reported at https://bugs.debian.org/1068864
---
 src/join.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/join.c b/src/join.c
index fd6fc74ce..fd28febfb 100644
--- a/src/join.c
+++ b/src/join.c
@@ -1045,7 +1045,7 @@ main (int argc, char **argv)
             if (xstrtol (optarg, nullptr, 10, &val, "") != LONGINT_OK
                 || (val != 1 && val != 2))
               error (EXIT_FAILURE, 0,
-                     _("invalid field number: %s"), quote (optarg));
+                     _("invalid file number: %s"), quote (optarg));
             if (val == 1)
               print_unpairables_1 = true;
             else
-- 
2.44.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]