Applied patch from David Douthitt to re-add -print option to find.

Closes bug #1144.
This commit is contained in:
Mark Whitley
2001-03-28 22:04:42 +00:00
parent c835567914
commit e0a7f917c2
5 changed files with 9 additions and 0 deletions

View File

@@ -143,6 +143,9 @@ int find_main(int argc, char **argv)
for (i = firstopt; i < argc; i++) {
if (strcmp(argv[i], "-follow") == 0)
dereference = TRUE;
else if (strcmp(argv[i], "-print") == 0) {
;
}
else if (strcmp(argv[i], "-name") == 0) {
if (++i == argc)
error_msg_and_die("option `-name' requires an argument");