[PATCH 3/4] colrm: make two error messages actually say that something is wrong
Benno Schulenberg <[email protected]>
| Newsgroups | org.kernel.vger.util-linux |
|---|---|
| Message-ID | <[email protected]> |
Signed-off-by: Benno Schulenberg <[email protected]> --- text-utils/colrm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/text-utils/colrm.c b/text-utils/colrm.c index b1370ac81..dd36d1827 100644 --- a/text-utils/colrm.c +++ b/text-utils/colrm.c @@ -180,9 +180,9 @@ int main(int argc, char **argv) } if (argc > 1) - first = strtoul_or_err(*++argv, _("first argument")); + first = strtoul_or_err(*++argv, _("invalid first argument")); if (argc > 2) - last = strtoul_or_err(*++argv, _("second argument")); + last = strtoul_or_err(*++argv, _("invalid second argument")); while (process_input(first, last)) ; -- 2.48.1