Give more detail in an error message

darcs-hash:20060218024346-ac50b-f26f6ef107fffa398b6ff61baff81914b998940a.gz
This commit is contained in:
axel 2006-02-18 12:43:46 +10:00
parent dd79d75504
commit 0840c9248f

View file

@ -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 );
}