(edit): Rewrite of undocumented and broken feature: if there are extra

arguments, they are interpreted as key-value pairs, and edit does not
prompt for more.  From Ron Koenderink.
(player_coms): Document extended syntax.
This commit is contained in:
Markus Armbruster 2003-11-25 19:16:18 +00:00
parent e07fb30663
commit be168eba05
3 changed files with 48 additions and 28 deletions

View file

@ -1,7 +1,17 @@
.TH Command EDIT
.NA edit "Change stats of country, ship, land unit, or plane"
.LV Expert
.SY "edit <country|unit|ship|plane|nuke>"
Once you specify what you want to edit, the server will tell you what
to do. Hit return to get out of the prompter.
.SY "edit <country|land|unit|ship|plane|nuke> [<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.
.s1
If you don't specify any <KEY> <VALUE> pair, \*Qedit\*U enters
interactive mode. Editable properties are shown together with their
keys and values. Enter a key character and a value to change a
property. Hit return to finish the command.
.s1
You can also specify one or more <KEY> <VALUE> pairs as command
arguments. In this case, \*Qedit\*U just sets the properties, and
does not enter interactive mode.
.SA "setsector, setresource, give, Deity"