commit | e0a7f917c293fbde421fbdffc9cb3dd47ff14ee2 | [log] [tgz] |
---|---|---|
author | Mark Whitley <markw@lineo.com> | Wed Mar 28 22:04:42 2001 +0000 |
committer | Mark Whitley <markw@lineo.com> | Wed Mar 28 22:04:42 2001 +0000 |
tree | 7c84d1235d1c5dae4718f3ba7c1b020ff6beaed6 | |
parent | c835567914388df8116626445f566443f50dfe1b [diff] [blame] |
Applied patch from David Douthitt to re-add -print option to find. Closes bug #1144.
diff --git a/find.c b/find.c index 15e693a..e814c97 100644 --- a/find.c +++ b/find.c
@@ -143,6 +143,9 @@ 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");