Fix -L option in curses port
authorBill Lash <william.lash@gmail.com>
Thu, 20 Dec 2018 00:38:44 +0000 (18:38 -0600)
committerBill Lash <william.lash@gmail.com>
Thu, 20 Dec 2018 00:38:44 +0000 (18:38 -0600)
When the -R option of curses frotz was renamed -L the L was left out
of the options string passed to getopt.  This caused the -L option
to not be recognized

src/curses/ux_init.c

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