From 096370d349fb6be0f5754a9f1d1ca2910d33d78c Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Wed, 7 Feb 2001 03:52:38 +0000 Subject: Reworked find with David Douthitt to support -type, -perm, -mtime, and other improvements. --- usage.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'usage.c') diff --git a/usage.c b/usage.c index a27ff92..215871b 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 -- cgit v1.1