ó
^ęWc           @@  sP   d  d l  m Z d  d l m Z m Z d  d l m Z d e f d     YZ d S(   i    (   t   absolute_import(   t   Commandt   SUCCESS(   t   CommandErrort   HelpCommandc           B@  s)   e  Z d  Z d Z d Z d Z d   Z RS(   s   Show help for commandst   helps   
      %prog <command>s   Show help for commands.c   	      C@  sŪ   d d l  m } m } y | d } Wn t k
 r8 t SX| | k r | |  } d | g } | rx | j d |  n  t d j |    n  | |   } | j j	   t S(   Ni    (   t   commands_dictt   get_similar_commandss   unknown command "%s"s   maybe you meant "%s"s    - (
   t   pip.commandsR   R   t
   IndexErrorR   t   appendR   t   joint   parsert
   print_help(	   t   selft   optionst   argsR   R   t   cmd_namet   guesst   msgt   command(    (    sb   /private/var/folders/3n/6h2rwf155rn1m71wwyxn79n80000gn/T/pip-build-IcAT_k/pip/pip/commands/help.pyt   run   s    (   t   __name__t
   __module__t   __doc__t   namet   usaget   summaryR   (    (    (    sb   /private/var/folders/3n/6h2rwf155rn1m71wwyxn79n80000gn/T/pip-build-IcAT_k/pip/pip/commands/help.pyR      s
   N(   t
   __future__R    t   pip.basecommandR   R   t   pip.exceptionsR   R   (    (    (    sb   /private/var/folders/3n/6h2rwf155rn1m71wwyxn79n80000gn/T/pip-build-IcAT_k/pip/pip/commands/help.pyt   <module>   s   