diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/find/find.1 | 14 | ||||
-rw-r--r-- | usr.bin/find/main.c | 5 |
2 files changed, 10 insertions, 9 deletions
diff --git a/usr.bin/find/find.1 b/usr.bin/find/find.1 index d9d9cde..824b917 100644 --- a/usr.bin/find/find.1 +++ b/usr.bin/find/find.1 @@ -45,20 +45,20 @@ .Nm .Op Fl H | Fl L | Fl P .Op Fl EXdsx -.Op Fl f Ar pathname -.Ar pathname ... -.Ar expression +.Op Fl f Ar path +.Ar path ... +.Op Ar expression .Nm .Op Fl H | Fl L | Fl P .Op Fl EXdsx -.Fl f Ar pathname -.Op Ar pathname ... -.Ar expression +.Fl f Ar path +.Op Ar path ... +.Op Ar expression .Sh DESCRIPTION The .Nm utility recursively descends the directory tree for each -.Ar pathname +.Ar path listed, evaluating an .Ar expression (composed of the diff --git a/usr.bin/find/main.c b/usr.bin/find/main.c index 643f1f8..8e2b42c 100644 --- a/usr.bin/find/main.c +++ b/usr.bin/find/main.c @@ -163,7 +163,8 @@ main(int argc, char *argv[]) static void usage(void) { - (void)fprintf(stderr, -"usage: find [-H | -L | -P] [-EXdsx] [-f file] [file ...] [expression]\n"); + (void)fprintf(stderr, "%s\n%s\n", +"usage: find [-H | -L | -P] [-EXdsx] [-f path] path ... [expression]", +" find [-H | -L | -P] [-EXdsx] -f path [path ...] [expression]"); exit(1); } |