Set cyclic default length 100 (#1359)

pull/1360/head
Gulshan Singh 3 years ago committed by GitHub
parent e6d118c08c
commit 5695658797
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -44,13 +44,13 @@ group.add_argument(
"count",
type=int,
nargs="?",
default=None,
default=100,
help="Number of characters to print from the sequence (default: print the entire sequence)",
)
@pwndbg.commands.ArgparsedCommand(parser, command_name="cyclic")
def cyclic_cmd(alphabet, length, lookup, count):
def cyclic_cmd(alphabet, length, lookup, count=100):
if length:
# Convert from gdb.Value
length = int(length)

Loading…
Cancel
Save