1
0
mirror of https://github.com/mnaberez/py65.git synced 2024-11-07 21:05:41 +00:00

Show usage for "delete_label" command.

This commit is contained in:
Mike Naberezny 2009-03-16 23:23:17 -07:00
parent 665a11eb53
commit 47228e45f6

View File

@ -408,6 +408,9 @@ class Monitor(cmd.Cmd):
self._output("Remove the specified label from the label tables.")
def do_delete_label(self, args):
if args == '':
return self.help_delete_label()
try:
del self._address_parser.labels[args]
except KeyError: