Move help_save() above do_save()

This commit is contained in:
Mike Naberezny 2015-03-21 16:07:13 -07:00
parent 459ee44636
commit a6fc48a875
1 changed files with 5 additions and 5 deletions

View File

@ -625,6 +625,11 @@ class Monitor(cmd.Cmd):
self._fill(start, start, bytes)
def help_save(self):
self._output("save \"filename\" <start> <end>")
self._output("Save the specified memory range as a binary file.")
self._output("Commodore-style load address bytes are not written.")
def do_save(self, args):
split = shlex.split(args)
if len(split) != 3:
@ -650,11 +655,6 @@ class Monitor(cmd.Cmd):
self._output("Saved +%d bytes to %s" % (len(mem), filename))
def help_save(self):
self._output("save \"filename\" <start> <end>")
self._output("Save the specified memory range as a binary file.")
self._output("Commodore-style load address bytes are not written.")
def help_fill(self):
self._output("fill <address_range> <data_list>")
self._output("Fill memory in the address range with the data in")