From 7aa9d8fbf1d56a5b41fb007c0bf2089a6e3dae98 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 18 Jun 2007 00:12:43 -0400 Subject: Fix "Need 1 arguments". --- lib/args.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/args.c') diff --git a/lib/args.c b/lib/args.c index c9ade1e9..95643c3e 100644 --- a/lib/args.c +++ b/lib/args.c @@ -296,8 +296,10 @@ notflag: } // Sanity check - if (optargmaxargs) error_exit("Max %d arguments", maxargs); + if (optargmaxargs) + error_exit("Max %d argument%s", maxargs, maxargs ? "s" : ""); } // Loop through files listed on the command line -- cgit v1.2.3