Fix some argument prompts to end in one space
Corrects first argument of collect and show, and second argument of assault, follow, mine, lmine and mobquota.
This commit is contained in:
parent
a1f4dc9592
commit
0a61f8eb78
6 changed files with 7 additions and 7 deletions
|
@ -82,7 +82,7 @@ assa(void)
|
|||
*/
|
||||
|
||||
if ((off->shp_uid =
|
||||
onearg(player->argp[2], "Assault from ship #")) < 0) {
|
||||
onearg(player->argp[2], "Assault from ship # ")) < 0) {
|
||||
pr("You may only assault from one ship!\n");
|
||||
return RET_FAIL;
|
||||
}
|
||||
|
|
|
@ -60,7 +60,7 @@ coll(void)
|
|||
pr("Loans are not enabled.\n");
|
||||
return RET_FAIL;
|
||||
}
|
||||
if ((arg = onearg(player->argp[1], "Collect on loan #")) < 0)
|
||||
if ((arg = onearg(player->argp[1], "Collect on loan # ")) < 0)
|
||||
return RET_SYN;
|
||||
/* Check if it's a valid loan. That means, is it a valid loan,
|
||||
owed to this player, with a valid duration and it's been signed. */
|
||||
|
|
|
@ -53,7 +53,7 @@ foll(void)
|
|||
}
|
||||
if (!snxtitem(&nstr, EF_SHIP, player->argp[1]))
|
||||
return RET_SYN;
|
||||
cp = getstarg(player->argp[2], "leader?", buf);
|
||||
cp = getstarg(player->argp[2], "leader? ", buf);
|
||||
if (cp == 0)
|
||||
cp = "";
|
||||
good = sscanf(cp, "%d", &leader);
|
||||
|
|
|
@ -74,7 +74,7 @@ mobq(void)
|
|||
pr("Ship #%d at %s. Old value %d.\n", ship.shp_uid,
|
||||
xyas(ship.shp_x, ship.shp_y, player->cnum),
|
||||
ship.shp_mobquota);
|
||||
cp = getstarg(player->argp[2], "mobility quota?", buf);
|
||||
cp = getstarg(player->argp[2], "mobility quota? ", buf);
|
||||
if (!cp)
|
||||
return RET_SYN;
|
||||
if (!check_ship_ok(&ship))
|
||||
|
|
|
@ -51,7 +51,7 @@ show(void)
|
|||
int rlev;
|
||||
|
||||
if (!(p = getstarg(player->argp[1],
|
||||
"Show what (bridge, item, land, nuke, plane, sect, ship, tower, updates)?",
|
||||
"Show what (bridge, item, land, nuke, plane, sect, ship, tower, updates)? ",
|
||||
buf))
|
||||
|| !*p)
|
||||
return RET_SYN;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue