Hide groups in not: mode because they are not properly computed.
[finddup.git] / finddup.c
index 562cf5c..f1e3cf0 100644 (file)
--- a/finddup.c
+++ b/finddup.c
@@ -350,6 +350,9 @@ void start(const char *dirname1, const char *dirname2) {
   if(dirname2) {
     if(strncmp(dirname2, "not:", 4) == 0) {
       not_in = 1;
+      /* We should show groups even in that mode. However they are not
+         properly calculated for now, so we force it off. */
+      show_groups = 0;
       dirname2 += 4;
     }
     if(show_progress) {
@@ -468,7 +471,7 @@ int main(int argc, char **argv) {
   setlocale (LC_ALL, "");
 
   while (1) {
-    c = getopt(argc, argv, "hrcgd0p");
+    c = getopt(argc, argv, "hircgd0p");
     if (c == -1)
       break;