diff options
author | Mark Whitley <markw@lineo.com> | 2001-03-28 22:04:42 +0000 |
---|---|---|
committer | Mark Whitley <markw@lineo.com> | 2001-03-28 22:04:42 +0000 |
commit | e0a7f917c293fbde421fbdffc9cb3dd47ff14ee2 (patch) | |
tree | 7c84d1235d1c5dae4718f3ba7c1b020ff6beaed6 /findutils/find.c | |
parent | c835567914388df8116626445f566443f50dfe1b (diff) | |
download | busybox-w32-e0a7f917c293fbde421fbdffc9cb3dd47ff14ee2.tar.gz busybox-w32-e0a7f917c293fbde421fbdffc9cb3dd47ff14ee2.tar.bz2 busybox-w32-e0a7f917c293fbde421fbdffc9cb3dd47ff14ee2.zip |
Applied patch from David Douthitt to re-add -print option to find.
Closes bug #1144.
Diffstat (limited to 'findutils/find.c')
-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 15e693ab9..e814c97b9 100644 --- a/findutils/find.c +++ b/findutils/find.c | |||
@@ -143,6 +143,9 @@ int find_main(int argc, char **argv) | |||
143 | for (i = firstopt; i < argc; i++) { | 143 | for (i = firstopt; i < argc; i++) { |
144 | if (strcmp(argv[i], "-follow") == 0) | 144 | if (strcmp(argv[i], "-follow") == 0) |
145 | dereference = TRUE; | 145 | dereference = TRUE; |
146 | else if (strcmp(argv[i], "-print") == 0) { | ||
147 | ; | ||
148 | } | ||
146 | else if (strcmp(argv[i], "-name") == 0) { | 149 | else if (strcmp(argv[i], "-name") == 0) { |
147 | if (++i == argc) | 150 | if (++i == argc) |
148 | error_msg_and_die("option `-name' requires an argument"); | 151 | error_msg_and_die("option `-name' requires an argument"); |