From 2d4e4e0d96d03784a568258f6297b73ddaec55d9 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Tue, 15 Apr 2008 20:57:28 +0200 Subject: [PATCH] Fix documented syntax of edit command. While there: editing nukes isn't implemented, don't advertise it. --- info/edit.t | 7 +++---- src/lib/player/empmod.c | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/info/edit.t b/info/edit.t index ded5436a..ec2784e5 100644 --- a/info/edit.t +++ b/info/edit.t @@ -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 [ ]..." +.SY "edit [ ]..." The \*Qedit\*U command allows deities to edit properties of a country, -sector (confusingly called here), land unit, ship, plane or -nuke. +sector (confusingly called here), ship, plane or land unit. .s1 If you don't specify any pair, \*Qedit\*U enters interactive mode. Editable properties are shown together with their diff --git a/src/lib/player/empmod.c b/src/lib/player/empmod.c index 85a43397..9dde8add 100644 --- a/src/lib/player/empmod.c +++ b/src/lib/player/empmod.c @@ -97,7 +97,7 @@ struct cmndstr player_coms[] = { 1, drop, C_MOD, NORM + MONEY + CAP}, {"dump []", 0, dump, 0, NORM}, {"echo []", 0, echo, 0, NORM}, - {"edit [ ]...", + {"edit [ ]...", 0, edit, C_MOD, GOD}, {"enable", 0, enab, C_MOD, GOD}, {"enlist ", 2, enli, C_MOD, NORM + MONEY + CAP},