summaryrefslogtreecommitdiffstats
path: root/usr.bin/find
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-02-18 14:30:43 +0000
committerdes <des@FreeBSD.org>2003-02-18 14:30:43 +0000
commit8927a9197d24facda45ccfb22e8a113796262b23 (patch)
tree71e429b90b6130dbd2178565f60e2948c9a0939f /usr.bin/find
parentf671b30fa662d1095ae70654346e2fdca899e88d (diff)
downloadFreeBSD-src-8927a9197d24facda45ccfb22e8a113796262b23.zip
FreeBSD-src-8927a9197d24facda45ccfb22e8a113796262b23.tar.gz
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
Diffstat (limited to 'usr.bin/find')
-rw-r--r--usr.bin/find/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/find/option.c b/usr.bin/find/option.c
index 657d975..ae87e64 100644
--- a/usr.bin/find/option.c
+++ b/usr.bin/find/option.c
@@ -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 },
OpenPOWER on IntegriCloud