summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/find/find.11
-rw-r--r--usr.bin/find/option.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/find/find.1 b/usr.bin/find/find.1
index 15eb203..ee8f0de 100644
--- a/usr.bin/find/find.1
+++ b/usr.bin/find/find.1
@@ -695,6 +695,7 @@ true.
.Pp
.It Cm \&! Ar expression
.It Cm -false Ar expression
+.It Cm -not Ar expression
This is the unary
.Tn NOT
operator.
diff --git a/usr.bin/find/option.c b/usr.bin/find/option.c
index f0af4c6..657d975 100644
--- a/usr.bin/find/option.c
+++ b/usr.bin/find/option.c
@@ -112,6 +112,7 @@ static OPTION const options[] = {
{ "-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 },
{ "-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