Fix SYNOPSIS and usage().

This commit is contained in:
Ruslan Ermilov 2008-03-03 08:32:58 +00:00
parent c3f43618db
commit dfab7fb13d
2 changed files with 10 additions and 9 deletions

View file

@ -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

View file

@ -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);
}