From 0840c9248fe321a5f2ee0c5519edb5cdaf247553 Mon Sep 17 00:00:00 2001 From: axel Date: Sat, 18 Feb 2006 12:43:46 +1000 Subject: [PATCH] Give more detail in an error message darcs-hash:20060218024346-ac50b-f26f6ef107fffa398b6ff61baff81914b998940a.gz --- builtin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/builtin.c b/builtin.c index 1ace760be..7cfc6559f 100644 --- a/builtin.c +++ b/builtin.c @@ -2575,7 +2575,8 @@ static int builtin_for( wchar_t **argv ) if( argc < 3) { sb_printf( sb_err, - _( L"%ls: Expected at least two arguments\n" ), + _( L"%ls: Expected at least two arguments, got %d\n"), + argc , argv[0] ); builtin_print_help( argv[0], sb_err ); }