diff options
author | ru <ru@FreeBSD.org> | 2008-03-03 08:32:58 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2008-03-03 08:32:58 +0000 |
commit | 902dd4e2b121c61efe27afa83a425cf928334bcc (patch) | |
tree | 2ae4309cf208cbdef7d962bb0297e014812c8862 | |
parent | 195c58423a7d7ac50d2f089c8a0dab227052420c (diff) | |
download | FreeBSD-src-902dd4e2b121c61efe27afa83a425cf928334bcc.zip FreeBSD-src-902dd4e2b121c61efe27afa83a425cf928334bcc.tar.gz |
Fix SYNOPSIS and usage().
-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); } |