search command: remove unused string optional arg

pull/1198/head
Disconnect3d 3 years ago
parent bddaa408f8
commit 8453ddc680

@ -100,7 +100,6 @@ parser.add_argument(
parser.add_argument(
"-x", "--hex", action="store_true", help="Target is a hex-encoded (for bytes/strings)"
)
parser.add_argument("-s", "--string", action="store_true", help="Target is a raw string")
parser.add_argument(
"-e", "--executable", action="store_true", help="Search executable segments only"
)
@ -131,7 +130,7 @@ parser.add_argument(
@pwndbg.commands.ArgparsedCommand(parser)
@pwndbg.commands.OnlyWhenRunning
def search(type, hex, string, executable, writable, value, mapping_name, save, next, trunc_out):
def search(type, hex, executable, writable, value, mapping_name, save, next, trunc_out):
global saved
if next and not saved:
print(

Loading…
Cancel
Save