UI tweaks
This commit is contained in:
parent
25ad51c8cb
commit
821201ddd6
4
mce.py
4
mce.py
@ -249,7 +249,7 @@ class mce(object):
|
|||||||
try:
|
try:
|
||||||
logging.getLogger().level = int(command[0]);
|
logging.getLogger().level = int(command[0]);
|
||||||
except ValueError:
|
except ValueError:
|
||||||
raise UsageError
|
raise UsageError, "Cannot understand numeric input."
|
||||||
else:
|
else:
|
||||||
print "Log level: {0}".format(logging.getLogger().level)
|
print "Log level: {0}".format(logging.getLogger().level)
|
||||||
|
|
||||||
@ -476,7 +476,7 @@ class mce(object):
|
|||||||
|
|
||||||
def _dumpsigns(self, command):
|
def _dumpsigns(self, command):
|
||||||
"""
|
"""
|
||||||
dumpSigns [<filename>]
|
dumpSigns [ <filename> ]
|
||||||
|
|
||||||
Saves the text and location of every sign in the world to a text file.
|
Saves the text and location of every sign in the world to a text file.
|
||||||
With no filename, saves signs to <worldname>.signs
|
With no filename, saves signs to <worldname>.signs
|
||||||
|
Reference in New Issue
Block a user