bug-zile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-zile] 2.3.1: missing getopt options


From: Christian Weisgerber
Subject: [Bug-zile] 2.3.1: missing getopt options
Date: Tue, 24 Feb 2009 16:44:44 +0100
User-agent: Mutt/1.5.19 (2009-01-05)

Running "zile -h" or "zile -v" produces an error because these options
have been omitted from getopt().

--- src/main.c.orig     Tue Feb 24 02:44:44 2009
+++ src/main.c  Tue Feb 24 02:45:00 2009
@@ -249,7 +249,7 @@ main (int argc, char **argv)
       char *buf;
 
       /* Leading : so as to return ':' for a missing arg, not '?' */
-      c = getopt_long (argc, argv, ":l:q", longopts, NULL);
+      c = getopt_long (argc, argv, ":hl:qv", longopts, NULL);
 
       if (c == -1)
         break;
-- 
Christian "naddy" Weisgerber                          address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]