aboutsummaryrefslogtreecommitdiff
path: root/find.c
diff options
context:
space:
mode:
Diffstat (limited to 'find.c')
-rw-r--r--find.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/find.c b/find.c
index 15e693ab9..e814c97b9 100644
--- a/find.c
+++ b/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");