Fix show help text to include news and product
Commit1bca66c0
added show news and commit71bbd642
show product without updating the help text. Fix that. The prompt is now too long, so add option '?' to show it, and change the prompt to refer to that.
This commit is contained in:
parent
5705ab91b8
commit
162c79bb73
1 changed files with 6 additions and 3 deletions
|
@ -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]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue