The 'i' option was missing in getopt().
authorFrancois Fleuret <francois@fleuret.org>
Thu, 11 Mar 2010 07:05:56 +0000 (08:05 +0100)
committerFrancois Fleuret <francois@fleuret.org>
Thu, 11 Mar 2010 07:05:56 +0000 (08:05 +0100)
finddup.c

index 562cf5c..1502791 100644 (file)
--- a/finddup.c
+++ b/finddup.c
@@ -468,7 +468,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;