Update mtk.py

This commit is contained in:
shmu1i 2024-09-19 12:32:34 -04:00 committed by GitHub
parent 798696990a
commit 236db70e9f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

6
mtk.py
View file

@ -38,7 +38,7 @@ cmds = {
"plstage": "Run stage2 payload via preloader mode (send_da)", "plstage": "Run stage2 payload via preloader mode (send_da)",
"da": "Run da xflash/legacy special commands", "da": "Run da xflash/legacy special commands",
"script": "Run multiple commands using text script", "script": "Run multiple commands using text script",
"multi": 'Run multiple commands using a comma-separated list (enclose list in quotes)' "multi": 'Run multiple commands using a semicolon-separated list (enclose list in quotes)'
} }
@ -53,8 +53,8 @@ def main():
'gettargetconfig, peek, stage, plstage, da, script\n') 'gettargetconfig, peek, stage, plstage, da, script\n')
parser_script = subparsers.add_parser("script", help="Run text script") parser_script = subparsers.add_parser("script", help="Run text script")
parser_multi = subparsers.add_parser("multi", help='Run multiple commands using a comma-separated list (enclose list in quotes)') parser_multi = subparsers.add_parser("multi", help='Run multiple commands using a semicolon-separatedlist (enclose list in quotes)')
parser_multi.add_argument('commands', help='Comma-separated list of commands to run') parser_multi.add_argument('commands', help='semicolon-separated list of commands to run')
parser_printgpt = subparsers.add_parser("printgpt", help="Print GPT Table information") parser_printgpt = subparsers.add_parser("printgpt", help="Print GPT Table information")