]> granicus.if.org Git - nethack/commitdiff
more optlist verbose follow-up
authornhmall <nhmall@nethack.org>
Wed, 22 Jun 2022 18:11:51 +0000 (14:11 -0400)
committernhmall <nhmall@nethack.org>
Wed, 22 Jun 2022 18:11:51 +0000 (14:11 -0400)
src/options.c

index 4a24f414055342324318107a93e80b584d11ec22..8ad18b746e056b4aaa66c2f4ec7cffc7ba475676 100644 (file)
@@ -4269,7 +4269,7 @@ pfxfn_IBM_(int optidx UNUSED, int req, boolean negated UNUSED,
             return optn_err;
         opts[0] = '\0';
         return optn_ok;
-    }
+    }b
     return optn_ok;
 }
 #endif
@@ -4284,6 +4284,7 @@ int pfxfn_verbose(int optidx UNUSED, int req, boolean negated,
     boolean param_optional = FALSE;
 
     if (req == do_init) {
+        flags.verbose = allopt[optidx].opt_in_out;
         return optn_ok;
     }
     if (req == do_set) {