summaryrefslogtreecommitdiffhomepage
path: root/applets
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2001-02-07 03:52:38 +0000
committerMatt Kraai <kraai@debian.org>2001-02-07 03:52:38 +0000
commit096370d349fb6be0f5754a9f1d1ca2910d33d78c (patch)
tree9a5c0ca1d70fdc842b949e3c59a2c59f5f889711 /applets
parenta164c647acc613fe199a646dc5075c097f51a4a4 (diff)
Reworked find with David Douthitt to support -type, -perm, -mtime, and
other improvements.
Diffstat (limited to 'applets')
-rw-r--r--applets/usage.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/applets/usage.c b/applets/usage.c
index a27ff92e2..215871b5a 100644
--- a/applets/usage.c
+++ b/applets/usage.c
@@ -377,7 +377,15 @@ const char find_usage[] =
"\nEXPRESSION may consist of:\n"
"\t-follow\t\tDereference symbolic links.\n"
"\t-name PATTERN\tFile name (leading directories removed) matches PATTERN.\n"
- "\t-print\t\tprint the full file name followed by a newline to stdout."
+#ifdef BB_FEATURE_FIND_TYPE
+ "\t-type X\t\tFiletype matches X (where X is one of: f,d,l,b,c,...)\n"
+#endif
+#ifdef BB_FEATURE_FIND_PERM
+ "\t-perm PERMS\tPermissions match any of (+NNN); all of (-NNN); or exactly (NNN)\n"
+#endif
+#ifdef BB_FEATURE_FIND_MTIME
+ "\t-mtime TIME\tModified time is greater than (+N); less than (-N); or exactly (N) days\n"
+#endif
#endif
;
#endif