Fix documented syntax of edit command.

While there: editing nukes isn't implemented, don't advertise it.
This commit is contained in:
Markus Armbruster 2008-04-15 20:57:28 +02:00
parent b88d59b9e4
commit 2d4e4e0d96
2 changed files with 4 additions and 5 deletions

View file

@ -1,10 +1,9 @@
.TH Command EDIT
.NA edit "Change stats of country, ship, land unit, or plane"
.NA edit "Edit country, sector, ship, plane or land unit"
.LV Expert
.SY "edit <country|land|unit|ship|plane|nuke> [<KEY> <VALUE>]..."
.SY "edit <country|land|unit|ship|plane> <NAT|SECT|SHIP|PLANE|LAND> [<KEY> <VALUE>]..."
The \*Qedit\*U command allows deities to edit properties of a country,
sector (confusingly called <land> here), land unit, ship, plane or
nuke.
sector (confusingly called <land> here), ship, plane or land unit.
.s1
If you don't specify any <KEY> <VALUE> pair, \*Qedit\*U enters
interactive mode. Editable properties are shown together with their

View file

@ -97,7 +97,7 @@ struct cmndstr player_coms[] = {
1, drop, C_MOD, NORM + MONEY + CAP},
{"dump <SECTS> [<fields>]", 0, dump, 0, NORM},
{"echo [<string>]", 0, echo, 0, NORM},
{"edit <country|land|unit|ship|plane|nuke> [<KEY> <VALUE>]...",
{"edit <country|land|ship|plane|unit> <NAT|SECT|SHIP|PLANE|LAND> [<KEY> <VALUE>]...",
0, edit, C_MOD, GOD},
{"enable", 0, enab, C_MOD, GOD},
{"enlist <SECTS> <NUM>", 2, enli, C_MOD, NORM + MONEY + CAP},