]> git.pond.sub.org Git - empserver/commitdiff
Fix documented syntax of edit command.
authorMarkus Armbruster <armbru@pond.sub.org>
Tue, 15 Apr 2008 18:57:28 +0000 (20:57 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 15 Apr 2008 18:57:28 +0000 (20:57 +0200)
While there: editing nukes isn't implemented, don't advertise it.

info/edit.t
src/lib/player/empmod.c

index ded5436acdc765e70135a0d7d038297548caafbe..ec2784e505cc0111c19d8d3872cf49528931f424 100644 (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
index 85a4339766fb23d8597251216c505f3c58625926..9dde8add3d9a5e1837b184df8621f33067324679 100644 (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},