From 349805c5ac3f53b21400e50498fd9c03002819a5 Mon Sep 17 00:00:00 2001 From: Griatch Date: Fri, 27 Mar 2015 07:12:32 +0100 Subject: [PATCH] Some minor cleanups of edit code --- evennia/commands/default/building.py | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/evennia/commands/default/building.py b/evennia/commands/default/building.py index bee4f3efe..8b80a22b2 100644 --- a/evennia/commands/default/building.py +++ b/evennia/commands/default/building.py @@ -515,18 +515,14 @@ class CmdDesc(MuxCommand): """ describe an object - Usage 1: - @desc [ =] >description> + Usage: + @desc [ =] - Sets the "desc" attribute on an - object. If an object is not given, + Switches: + edit - Open up a line editor for more advanced editing. + + Sets the "desc" attribute on an object. If an object is not given, describe the current room. - - Usage 2: - @desc/edit [obj] - - Opens up a line editor to set the "desc" - attribute on an object for advanced editing. """ key = "@desc" aliases = "@describe" @@ -570,7 +566,7 @@ class CmdDesc(MuxCommand): caller = self.caller if not self.args and 'edit' not in self.switches: - caller.msg("Usage: @desc [ =] >description>") + caller.msg("Usage: @desc [ =] ") return if 'edit' in self.switches: