ó
b]c           @@  sZ   d  d l  m Z d  d l m Z d  d l m Z d  d l m Z d e f d     YZ d S(   i    (   t   absolute_import(   t   Command(   t   SUCCESS(   t   CommandErrort   HelpCommandc           B@  s/   e  Z d  Z d Z d Z d Z e 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._internal.commandsR   R   t
   IndexErrorR   t   appendR   t   joint   parsert
   print_help(	   t   selft   optionst   argsR   R   t   cmd_namet   guesst   msgt   command(    (    s:   lib/python2.7/site-packages/pip/_internal/commands/help.pyt   run   s    (	   t   __name__t
   __module__t   __doc__t   namet   usaget   summaryt   Truet   ignore_require_venvR   (    (    (    s:   lib/python2.7/site-packages/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   R   (    (    (    s:   lib/python2.7/site-packages/pip/_internal/commands/help.pyt   <module>   s   