ó
“àfac           @@  s“   d  d l  m Z d  d l m Z d  d l m Z d  d l m Z d  d l m	 Z	 e	 ry d  d l
 m Z d  d l m Z n  d e f d	 „  ƒ  YZ d
 S(   i    (   t   absolute_import(   t   Command(   t   SUCCESS(   t   CommandError(   t   MYPY_CHECK_RUNNING(   t   Values(   t   Listt   HelpCommandc           B@  s#   e  Z d  Z d Z e Z d „  Z RS(   s   Show help for commandss   
      %prog <command>c   
      C@  s½   d d l  m } m } m } y | d } Wn t k
 r> t SX| | k r  | | ƒ } d j | ƒ g } | rˆ | j d j | ƒ ƒ n  t d j	 | ƒ ƒ ‚ n  | | ƒ }	 |	 j
 j ƒ  t S(   Ni    (   t   commands_dictt   create_commandt   get_similar_commandss   unknown command "{}"s   maybe you meant "{}"s    - (   t   pip._internal.commandsR   R	   R
   t
   IndexErrorR   t   formatt   appendR   t   joint   parsert
   print_help(
   t   selft   optionst   argsR   R	   R
   t   cmd_namet   guesst   msgt   command(    (    s:   /tmp/pip-install-YjPQSb/pip/pip/_internal/commands/help.pyt   run   s    (   t   __name__t
   __module__t   __doc__t   usaget   Truet   ignore_require_venvR   (    (    (    s:   /tmp/pip-install-YjPQSb/pip/pip/_internal/commands/help.pyR      s   N(   t
   __future__R    t   pip._internal.cli.base_commandR   t   pip._internal.cli.status_codesR   t   pip._internal.exceptionsR   t   pip._internal.utils.typingR   t   optparseR   t   typingR   R   (    (    (    s:   /tmp/pip-install-YjPQSb/pip/pip/_internal/commands/help.pyt   <module>   s   