Hi there,

here's a microscopic (again) patch that fixes argument handling for
--ignore-dirs.


Rgds, Marcus
diff -urN tracker.orig/src/trackerd/trackerd.c tracker/src/trackerd/trackerd.c
--- tracker.orig/src/trackerd/trackerd.c	2006-10-12 01:30:55.000000000 +0200
+++ tracker/src/trackerd/trackerd.c	2006-10-12 12:30:44.000000000 +0200
@@ -130,7 +130,7 @@
 static gboolean enable_debug, enable_evolution, enable_thunderbird, enable_kmail;
 
 static GOptionEntry entries[] = {
-	{"ignore-dirs", 0, 0, G_OPTION_ARG_STRING, &no_watch_dirs, "Directory roots to ignore seperated by semicolons (must specify full path)", "ignore-dirs"},
+	{"ignore-dirs", 0, 0, G_OPTION_ARG_STRING_ARRAY, &no_watch_dirs, "Directory roots to ignore seperated by semicolons (must specify full path)", "ignore-dirs"},
 	{"disable-indexing", 0, 0, G_OPTION_ARG_NONE, &disable_indexing, "prevents any indexing or watching taking place", NULL },
 	{"enable-debug", 0, 0, G_OPTION_ARG_NONE, &enable_debug, "Enables more verbose debug messages", NULL },
 	{"enable-evolution", 0, 0, G_OPTION_ARG_NONE, &enable_evolution, "Enables indexing of Evolution emails", NULL },
_______________________________________________
tracker-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/tracker-list

Reply via email to