diff options
author | Mark Whitley | 2001-03-28 22:04:42 +0000 |
---|---|---|
committer | Mark Whitley | 2001-03-28 22:04:42 +0000 |
commit | e0a7f917c293fbde421fbdffc9cb3dd47ff14ee2 (patch) | |
tree | 7c84d1235d1c5dae4718f3ba7c1b020ff6beaed6 /findutils | |
parent | c835567914388df8116626445f566443f50dfe1b (diff) | |
download | busybox-e0a7f917c293fbde421fbdffc9cb3dd47ff14ee2.zip busybox-e0a7f917c293fbde421fbdffc9cb3dd47ff14ee2.tar.gz |
Applied patch from David Douthitt to re-add -print option to find.
Closes bug #1144.
Diffstat (limited to 'findutils')
-rw-r--r-- | findutils/find.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/findutils/find.c b/findutils/find.c index 15e693a..e814c97 100644 --- a/findutils/find.c +++ b/findutils/find.c @@ -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"); |