1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-19 15:33:56 +00:00

Correctly alphabetize options[] so we don't stop at -nouser when searching

for -not.

PR:		bin/48423
Submitted by:	Matsumura Naoki <matsu@jp.FreeBSD.org>
MFC after:	3 days
This commit is contained in:
Dag-Erling Smørgrav 2003-02-18 14:30:43 +00:00
parent 419b10b514
commit db6b8c956f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111084

View File

@ -111,8 +111,8 @@ static OPTION const options[] = {
{ "-newermm", c_newer, f_newer, 0 },
{ "-newermt", c_newer, f_newer, F_TIME2_T },
{ "-nogroup", c_nogroup, f_nogroup, 0 },
{ "-nouser", c_nouser, f_nouser, 0 },
{ "-not", c_simple, f_not, 0 },
{ "-nouser", c_nouser, f_nouser, 0 },
{ "-o", c_simple, f_or, 0 },
{ "-ok", c_exec, f_exec, F_NEEDOK },
{ "-okdir", c_exec, f_exec, F_NEEDOK | F_EXECDIR },