diff options
author | 2006-09-26 22:41:09 +1000 | |
---|---|---|
committer | 2006-09-26 22:41:09 +1000 | |
commit | d0f187073567c1bfaf9a4190951bc1723f3815dc (patch) | |
tree | 6678d3ef4b3231f2dc18e7815b4db368d4b9e47c /builtin.c | |
parent | b71f5d09b022578484c943bdeec1823a8627ad29 (diff) |
Add syntax check to see that the for builtin is not given an insufficient number of arguments
darcs-hash:20060926124109-ac50b-b088397933fa7ea539e48fa9fcd461de8295f7ce.gz
Diffstat (limited to 'builtin.c')
-rw-r--r-- | builtin.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2454,7 +2454,7 @@ static int builtin_for( wchar_t **argv ) if( argc < 3) { sb_printf( sb_err, - _( L"%ls: Expected at least two arguments, got %d\n"), + BUILTIN_FOR_ERR_COUNT, argv[0] , argc ); builtin_print_help( argv[0], sb_err ); |