B
    \y                 @   s|   d Z ddlmZ ddlmZ ddlZddlZddlmZ ddlm	Z	 ej
fddZd	d
 Zdd Zejdd fddZdS )z
    sphinx.cmdline
    ~~~~~~~~~~~~~~

    sphinx-build command-line handling.

    :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
    :license: BSD, see LICENSE for details.
    )absolute_import)print_functionN)build)RemovedInSphinx30Warningc             C   s$   t jdtdd t| ||| d S )NzBsphinx.cmdline module is deprecated. Use sphinx.cmd.build instead.   )
stacklevel)warningswarnr   r   handle_exception)ZappargsZ	exceptionstderr r   -lib/python3.7/site-packages/sphinx/cmdline.pyr
      s    
r
   c             C   s   t jdtdd t| S )NzBsphinx.cmdline module is deprecated. Use sphinx.cmd.build instead.r   )r   )r   r	   r   r   jobs_argument)valuer   r   r   r   "   s    
r   c               C   s   t jdtdd t S )NzBsphinx.cmdline module is deprecated. Use sphinx.cmd.build instead.r   )r   )r   r	   r   r   
get_parserr   r   r   r   r   )   s    
r      c             C   s   t jdtdd t| S )NzBsphinx.cmdline module is deprecated. Use sphinx.cmd.build instead.r   )r   )r   r	   r   r   main)argvr   r   r   r   0   s    
r   )__doc__Z
__future__r   r   sysr   Z
sphinx.cmdr   Zsphinx.deprecationr   r   r
   r   r   r   r   r   r   r   r   <module>
   s   	