]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/show.c
Fix show help text to include news and product
[empserver] / src / lib / commands / show.c
index e2e59b04e23733c5b6061f909ef16bc419fd8b72..677d8c8af0cec37b913c6ba27b456c0d5eba8aa6 100644 (file)
@@ -50,11 +50,14 @@ show(void)
     char buf[1024];
     int rlev;
 
-    p = getstarg(player->argp[1],
-                "Show what (bridge, item, land, nuke, plane, sect, ship, tower, updates)? ",
-                buf);
+again:
+    p = getstarg(player->argp[1], "Show what ('?' to list options)? ", buf);
     if (!p || !*p)
        return RET_SYN;
+    if (*p == '?') {
+       pr("bridge, item, land, news, nuke, plane, sect, ship, product, tower, updates\n");
+       goto again;
+    }
 
     natp = getnatp(player->cnum);
     rlev = (int)(1.25 * natp->nat_level[NAT_RLEV]);