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:
Markus Armbruster 2008-05-10 18:52:29 +02:00
parent a1f4dc9592
commit 0a61f8eb78
6 changed files with 7 additions and 7 deletions

View file

@ -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;
}

View file

@ -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. */

View file

@ -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);

View file

@ -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))

View file

@ -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;