]> granicus.if.org Git - nethack/commitdiff
more getpos() help
authorPatR <rankin@nethack.org>
Tue, 19 Jan 2016 10:19:33 +0000 (02:19 -0800)
committerPatR <rankin@nethack.org>
Tue, 19 Jan 2016 10:19:33 +0000 (02:19 -0800)
Explain the what-is response types in the help provided when typing '?'
during getpos operation.

src/do_name.c

index 779725bb86c74d89c7bf07c0ec5665227066e7e6..de2c0095208b25ceb85ec0443d031eb06982007d 100644 (file)
@@ -74,6 +74,16 @@ const char *goal;
     Sprintf(sbuf, "Type a .%s when you are at the right place.",
             doing_what_is ? " or , or ; or :" : "");
     putstr(tmpwin, 0, sbuf);
+    if (doing_what_is) {
+        putstr(tmpwin, 0,
+        "  : describe current spot, show 'more info', move to another spot.");
+        Sprintf(sbuf, "  . describe current spot,%s move to another spot;",
+                flags.help ? " prompt if 'more info'," : "");
+        putstr(tmpwin, 0, sbuf);
+        putstr(tmpwin, 0, "  , describe current spot, move to another spot;");
+        putstr(tmpwin, 0,
+               "  ; describe current spot, stop looking at things;");
+    }
     if (!force)
         putstr(tmpwin, 0, "Type Space or Escape when you're done.");
     putstr(tmpwin, 0, "");