#NEWLINE# def _get_presto_env_options( ) : #NEWLINE# #INDENT# new_env_options = copy . deepcopy ( env_options ) #NEWLINE# commands_to_remove = [ 'fabfile' , 'parallel' , 'rcfile' , 'skip_bad_hosts' , 'warn_only' , 'always_use_pty' , 'skip_unknown_tasks' , 'abort_on_prompts' , 'pool_size' , 'eagerly_disconnect' , 'ssh_config_path' ] #NEWLINE# commands_to_hide = [ '--roles' , '--shell' , '--linewise' , '--show' , '--hide' ] #NEWLINE# new_env_options = [ x for x in new_env_options if ( x . dest not in commands_to_remove ) ] #NEWLINE# for env_option in new_env_options : #NEWLINE# #INDENT# if ( env_option . get_opt_string ( ) in commands_to_hide ) : #NEWLINE# #INDENT# env_option . help = SUPPRESS_HELP #NEWLINE# #UNINDENT# #UNINDENT# return new_env_options