aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2014-08-05 19:44:59 -0500
committerRob Landley <rob@landley.net>2014-08-05 19:44:59 -0500
commit5e4787ea3144364983944c38eb2a5ab2f12351bc (patch)
tree763442aba25766203c0607be7546b06c11217d9b
parent6804d2324ff2524cdf9ac013cb2b6b72c2295117 (diff)
downloadtoybox-5e4787ea3144364983944c38eb2a5ab2f12351bc.tar.gz
Rereading posix find.c page: "Specifying more than one of the mutually-exclusive options -H and -L shall not be considered an error. The last option specified shall determine the behavior of the utility."
-rw-r--r--toys/posix/find.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/find.c b/toys/posix/find.c
index 0ea5271e..8cacc71e 100644
--- a/toys/posix/find.c
+++ b/toys/posix/find.c
@@ -8,7 +8,7 @@
* Parentheses can only stack 4096 deep
* Not treating two {} as an error, but only using last
-USE_FIND(NEWTOY(find, "?^HL", TOYFLAG_USR|TOYFLAG_BIN))
+USE_FIND(NEWTOY(find, "?^HL[-HL]", TOYFLAG_USR|TOYFLAG_BIN))
config FIND
bool "find"