Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Whitley <markw@lineo.com>2001-03-29 02:04:42 +0400
committerMark Whitley <markw@lineo.com>2001-03-29 02:04:42 +0400
commite0a7f917c293fbde421fbdffc9cb3dd47ff14ee2 (patch)
tree7c84d1235d1c5dae4718f3ba7c1b020ff6beaed6 /findutils
parentc835567914388df8116626445f566443f50dfe1b (diff)
Applied patch from David Douthitt to re-add -print option to find.
Closes bug #1144.
Diffstat (limited to 'findutils')
-rw-r--r--findutils/find.c3
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)
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");