aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/find.c
diff options
context:
space:
mode:
authorIsaac Dunham <ibid.ag@gmail.com>2014-03-29 15:25:23 -0500
committerIsaac Dunham <ibid.ag@gmail.com>2014-03-29 15:25:23 -0500
commitd4f01257d9d3b0d776114046a43d237a424fef77 (patch)
tree519f40d3c01464f20c3db81372344e1f3f71e4eb /toys/pending/find.c
parent4b0341f429fa7d384041b03b775b778fe4602149 (diff)
downloadtoybox-d4f01257d9d3b0d776114046a43d237a424fef77.tar.gz
find: clarify and expand the help for find -type
Diffstat (limited to 'toys/pending/find.c')
-rw-r--r--toys/pending/find.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/toys/pending/find.c b/toys/pending/find.c
index ab17dec4..58e554b8 100644
--- a/toys/pending/find.c
+++ b/toys/pending/find.c
@@ -12,14 +12,18 @@ config FIND
bool "find"
default n
help
- usage: find [<dir>] [<options]
+ usage: find [DIR] [<options>]
-name <pattern> match pattern
- -type [fcdl] match file type
+ -type [bcdflps] match file type
!, -a, -o not, and , or
(, ) group expressions
-mtime [-+]n match file modification time (to within 24 hours)
\t\t +=greater (older) than, -=less (younger) than
+
+ File types:
+ b block device d directory l symlink s socket
+ c char device f regular file p FIFO
*/
/* To Do: