Segfault with -r and no parameter. Add missing colon to zgetopt() call.
authorDavid Griffith <dave@661.org>
Mon, 26 Aug 2019 00:39:15 +0000 (17:39 -0700)
committerDavid Griffith <dave@661.org>
Mon, 26 Aug 2019 00:39:28 +0000 (17:39 -0700)
src/curses/ux_init.c

index 1c6b5d63e4e45f84f9432d83448a1e0192239b9b..cb8e4c7f8640e1c58d78219876fdc79d027412a5 100644 (file)
@@ -262,7 +262,7 @@ void os_process_arguments (int argc, char *argv[])
 
     /* Parse the options */
     do {
-       c = zgetopt(argc, argv, "-aAb:c:def:Fh:iI:l:L:oOpPqrR:s:S:tu:vw:W:xZ:");
+       c = zgetopt(argc, argv, "-aAb:c:def:Fh:iI:l:L:oOpPqr:R:s:S:tu:vw:W:xZ:");
        switch(c) {
          case 'a': f_setup.attribute_assignment = 1; break;
          case 'A': f_setup.attribute_testing = 1; break;