aboutsummaryrefslogtreecommitdiffhomepage
path: root/builtin.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-09-26 22:41:09 +1000
committerGravatar axel <axel@liljencrantz.se>2006-09-26 22:41:09 +1000
commitd0f187073567c1bfaf9a4190951bc1723f3815dc (patch)
tree6678d3ef4b3231f2dc18e7815b4db368d4b9e47c /builtin.c
parentb71f5d09b022578484c943bdeec1823a8627ad29 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin.c b/builtin.c
index 1ac1110e..7c5267c6 100644
--- a/builtin.c
+++ b/builtin.c
@@ -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 );