aboutsummaryrefslogtreecommitdiffhomepage
path: root/builtin.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-05-22 08:16:04 +1000
committerGravatar axel <axel@liljencrantz.se>2006-05-22 08:16:04 +1000
commitb746a803a947c1d130aa1f76125ee7d91dced9d5 (patch)
tree52cd2ae4212c4103b73f3c4d7e9b7e1e0402b717 /builtin.c
parent07e14ed7a85a200c4f8df3d0a47a933e8ff2fe68 (diff)
Add validator check to make sure the second argument to 'for' is 'in'
darcs-hash:20060521221604-ac50b-5bc4ce217a08304f68b97b20e908ea1279fe26e9.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 f4eb7db4..e5b3b4b1 100644
--- a/builtin.c
+++ b/builtin.c
@@ -2590,7 +2590,7 @@ static int builtin_for( wchar_t **argv )
else if (wcscmp( argv[2], L"in") != 0 )
{
sb_printf( sb_err,
- _( L"%ls: Second argument must be 'in'\n" ),
+ BUILTIN_FOR_ERR_IN,
argv[0] );
builtin_print_help( argv[0], sb_err );
}