Skip to content

Commit

Permalink
Merge pull request #222 from betaveros/unreverse-stack
Browse files Browse the repository at this point in the history
Unreverse stack if --reverse is passed
  • Loading branch information
snare committed Feb 15, 2018
2 parents fae43c9 + d4eb6bb commit 233b558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion voltron/plugins/view/memory.py
Expand Up @@ -196,11 +196,11 @@ def configure_subparser(cls, subparsers):
sp = subparsers.add_parser('stack', help='display a chunk of stack memory', aliases=('s', 'st'))
VoltronView.add_generic_arguments(sp)
sp.set_defaults(func=StackView)
sp.add_argument('--reverse', '-v', action='store_false', help='(un)reverse the output', default=True)
sp.add_argument('--track', '-t', action='store_true', help='track and highlight changes', default=True)
sp.add_argument('--no-track', '-T', action='store_false', help='don\'t track and highlight changes')

def build_requests(self):
self.args.reverse = True
self.args.deref = True
self.args.words = False
self.args.register = 'sp'
Expand Down

0 comments on commit 233b558

Please sign in to comment.