From 7826c3ebeed3f37afcddea31a45bd44d82a88f3f Mon Sep 17 00:00:00 2001 From: Jakub Wilk Date: Mon, 26 Jun 2023 20:58:21 +0200 Subject: [PATCH] cal: fix error message for bad -c argument --- misc-utils/cal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misc-utils/cal.c b/misc-utils/cal.c index c5be03d205..21eecae9a7 100644 --- a/misc-utils/cal.c +++ b/misc-utils/cal.c @@ -433,7 +433,8 @@ int main(int argc, char **argv) if (strcmp(optarg, "auto") == 0) cols = COLUMNS_AUTO; else - cols = strtosize_or_err(optarg, "foo"); + cols = strtosize_or_err(optarg, + _("failed to parse columns")); break; case 'V': print_version(EXIT_SUCCESS); -- 2.47.3