We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6ccf584 + 34a9da4 commit d481549Copy full SHA for d481549
pyocd/commands/commands.py
@@ -365,7 +365,9 @@ class DisassembleCommand(CommandBase):
365
}
366
367
def parse(self, args):
368
- self.center = (len(args) > 1) and (args.pop(0) in ('-c', '--center'))
+ self.center = (len(args) > 1) and (args[0] in ('-c', '--center'))
369
+ if self.center:
370
+ del args[0]
371
self.addr = self._convert_value(args[0])
372
if len(args) < 2:
373
self.count = 6
0 commit comments