@@ -716,7 +716,7 @@ def cli():
716716
717717 parser .add_argument ('--update' , help = 'Update MPT to the latest version' , action = 'store_true' )
718718
719- pentest = parser .add_argument_group ("Pentest" , "Configure an manage current pentest" )
719+ pentest = parser .add_argument_group ("Pentest" , "Configure and manage current pentest" )
720720
721721 pentest .add_argument ('--setup' , metavar = '[APK]' , nargs = 1 , type = str , help = 'Setup pentest environment' )
722722 pentest .add_argument ('--config' , help = 'Show current pentest config' , action = 'store_true' )
@@ -744,17 +744,17 @@ def cli():
744744
745745 tools = parser .add_argument_group ("Tools" , "Perform app related tasks" )
746746
747- tools .add_argument ('-i' , '--install' , metavar = ' tools|apps ' , nargs = '?' , type = str , const = ' ' ,
747+ tools .add_argument ('-i' , '--install- tools' , action = 'store_true ' ,
748748 help = 'Install pentesting tools on local system in a separate environment' )
749- tools .add_argument ('-a' , '--adb-run' , help = 'Start adb server with root avoids a lot of issues using adb' , action = 'store_true' )
749+ tools .add_argument ('-a' , '--adb-run' , help = 'Start adb server with root to avoid a lot of issues using adb' , action = 'store_true' )
750750 tools .add_argument ('-t' , '--tool' , metavar = 'tool' , nargs = '+' ,
751751 help = 'Run selected tool with <arguments> (use option \' list\' to display all tools)' )
752752
753753 proxy_wifi = parser .add_argument_group ("Proxy and WiFi" , "Manage proxy on device and WiFi settings locally" )
754754
755755 proxy_wifi .add_argument ('-ps' , '--proxy-status' , help = 'Check WiFi proxy status' , action = 'store_true' )
756756 proxy_wifi .add_argument ('-pe' , '--proxy-enable' , metavar = 'host:port' , nargs = '?' , type = str , const = '' ,
757- help = 'Set proxy for WiFi connection on your device (optional <host:port>), if not set load proxy settings from configuration file' )
757+ help = 'Set proxy for WiFi connection on your device (optional <host:port>), if not set loads proxy settings from configuration file' )
758758 proxy_wifi .add_argument ('-pd' , '--proxy-disable' , help = 'Disable WiFi proxy ' , action = 'store_true' )
759759 # obsolete options
760760 # parser.add_argument('-e', '--inspeckage', help='Open Inspeckage web interface', action='store_true')
@@ -801,8 +801,8 @@ def cli():
801801 run_decompiler (decompiler = args .decompile )
802802
803803 # Tool Options
804- if args .install or type (args .install ) is str :
805- functions .install_packages ( install = args . install )
804+ if args .install_tools or type (args .install_tools ) is str :
805+ functions .install_tools ( )
806806 if args .adb_run :
807807 functions .run_adb ()
808808 if args .tool :
0 commit comments