diff options
author | liljencrantz <liljencrantz@gmail.com> | 2007-08-15 07:42:57 +1000 |
---|---|---|
committer | liljencrantz <liljencrantz@gmail.com> | 2007-08-15 07:42:57 +1000 |
commit | e076f2c23975eb7d0110f8e2c746bee325e78c6c (patch) | |
tree | a80ec83178598f8e6b637628e8014eb1a1e558e7 | |
parent | 3cb24e06811264bbd5455a2a884f2a6131b52f38 (diff) |
Make the contains builtin not allow reordering of switches and non-switches
darcs-hash:20070814214257-75c98-a50161a8146dfd0a6c6a948e1960f93dd52275fd.gz
-rw-r--r-- | builtin.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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; - - - + } |