pebender / eventlircd

Automatically exported from code.google.com/p/eventlircd
GNU General Public License v2.0
0 stars 0 forks source link

Option -R is not recognized #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Small Patch to fix it:

--- eventlircd-0.0.1+svn20110409.0930.orig/src/main.c
+++ eventlircd-0.0.1+svn20110409.0930/src/main.c
@@ -73,7 +73,7 @@ int main(int argc,char **argv)

     openlog(progname, LOG_CONS | LOG_PERROR | LOG_PID, LOG_DAEMON);

-    while((opt = getopt_long(argc, argv, "hVvfe:s:m:r:", longopts, NULL)) != 
-1)
+    while((opt = getopt_long(argc, argv, "hVvfe:s:m:r:R", longopts, NULL)) != 
-1)
     {
         switch(opt)
         {

Original issue reported on code.google.com by gerald.d...@gmail.com on 7 Jul 2011 at 7:07