Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2001-02-07 06:52:38 +0300
committerMatt Kraai <kraai@debian.org>2001-02-07 06:52:38 +0300
commit096370d349fb6be0f5754a9f1d1ca2910d33d78c (patch)
tree9a5c0ca1d70fdc842b949e3c59a2c59f5f889711 /usage.c
parenta164c647acc613fe199a646dc5075c097f51a4a4 (diff)
Reworked find with David Douthitt to support -type, -perm, -mtime, and
other improvements.
Diffstat (limited to 'usage.c')
-rw-r--r--usage.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/usage.c b/usage.c
index a27ff92e2..215871b5a 100644
--- a/usage.c
+++ b/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