efreet: pass the correct option from the user input.
authorvivek <vivek.ellur@samsung.com>
Thu, 25 Dec 2014 20:32:49 +0000 (21:32 +0100)
committerCedric BAIL <cedric@osg.samsung.com>
Thu, 25 Dec 2014 20:32:55 +0000 (21:32 +0100)
Summary:
Pass the correct option -f for flush

@fix

Signed-off-by: vivek <vivek.ellur@samsung.com>
Reviewers: devilhorns, englebass

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1801

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/bin/efreet/efreet_icon_cache_create.c

index 9759b75..93e6566 100644 (file)
@@ -772,7 +772,7 @@ main(int argc, char **argv)
             while ((i < (argc - 1)) && (argv[(i + 1)][0] != '-'))
                 eina_array_push(extra_dirs, argv[++i]);
         }
-        else if (!strcmp(argv[i], "-d"))
+        else if (!strcmp(argv[i], "-f"))
             flush = EINA_TRUE;
     }