]> git.meshlink.io Git - catta/blobdiff - avahi-autoipd/main.c
Add inotify support for /ect/avahi/services and /etc/avahi/hosts. Based on a patch...
[catta] / avahi-autoipd / main.c
index f4574dc12d15234d70e25d54a49ef39a1a6203c6..bf3e775393e1984b6eed45f045c4824292bf3ea5 100644 (file)
@@ -1464,7 +1464,6 @@ static int parse_command_line(int argc, char *argv[]) {
         { NULL, 0, NULL, 0 }
     };
 
-    opterr = 0;
     while ((c = getopt_long(argc, argv, "hDskrcVS:w", long_options, NULL)) >= 0) {
 
         switch(c) {
@@ -1523,7 +1522,6 @@ static int parse_command_line(int argc, char *argv[]) {
 #endif
 
             default:
-                fprintf(stderr, "Invalid command line argument: %s\n", argv[optind-1]);
                 return -1;
         }
     }