B
    nb\
                 @   s   d dl Z dd ZdS )    Nc              C   s  t jdd} | jddddd | jdd	ddd
d | jdddddd | jddddd | jdddddd | jddddd | jddddd | jdddddd | jddddd | jd tdd!d" | jd#d$dtd%d&d' | jd(dd)d*d+d,d-gd.d/ |  \}}||fS )0zD
    Convert options into commands
    return commands, message
    zspyder [options] files)Zusagez--new-instance
store_trueFz[Run a new instance of Spyder, even if the single instance mode has been turned on (default))actiondefaulthelpz
--defaultsZreset_to_defaultsz(Reset configuration settings to defaults)destr   r   r   z--resetZreset_config_fileszRemove all configuration files!z
--optimizezEOptimize Spyder bytecode (this may require administrative privileges)z-wz	--workdirZworking_directoryNzDefault working directory)r   r   r   z--hide-consolez$Hide parent console window (Windows)z--show-consolezJ(Deprecated) Does nothing, now the default behavior is to show the consolez--multithreadZmultithreadedzVInternal console is executed in another thread (separate from main application thread)z	--profilez?Profile mode (internal test, not related with Python profiling)z--window-titlez'String to show in the main window title)typer   r   z-pz	--projectZprojectz$Path that contains an Spyder project)r   r   r   r   z--openglZchoiceZopengl_implementationZsoftwareZdesktopZglesz[OpenGL implementation to pass to Qt. Possible options are 'software', 'desktop' and 'gles'.)r   r   r   choicesr   )optparseZOptionParserZ
add_optionstr
parse_args)parserZoptionsargs r   5lib/python3.7/site-packages/spyder/app/cli_options.pyget_options	   sB    






r   )r	   r   r   r   r   r   <module>   s   