Commit 4b88b840 authored by Florent Lamiraux's avatar Florent Lamiraux Committed by Florent Lamiraux
Browse files

In command (), first print __doc__ if any.

parent d7e5807b
......@@ -128,6 +128,10 @@ class Entity (object) :
Print a short description of each command.
if self.__doc__ :
print self.__doc__
print "List of commands:"
print "-----------------"
for cstr in self.commands():
for i in range(len(cstr),15):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment