Make the contains builtin not allow reordering of switches and non-switches

darcs-hash:20070814214257-75c98-a50161a8146dfd0a6c6a948e1960f93dd52275fd.gz
This commit is contained in:
liljencrantz 2007-08-15 07:42:57 +10:00
parent 3cb24e0681
commit e076f2c239

View File

@ -2306,7 +2306,7 @@ static int builtin_contains( wchar_t ** argv )
int opt = wgetopt_long( argc,
argv,
L"h",
L"+h",
long_options,
&opt_index );
if( opt == -1 )
@ -2360,9 +2360,7 @@ static int builtin_contains( wchar_t ** argv )
}
}
return 1;
}