3

Q'ícÖã@s<ddlmZddlmZmZddlmZGdd„deƒZdS)é)Úabsolute_import)ÚCommandÚSUCCESS)ÚCommandErrorc@s$eZdZdZdZdZdZdd„ZdS)ÚHelpCommandzShow help for commandsÚhelpz
      %prog <command>zShow help for commands.c	Cs„ddlm}m}y|d}Wntk
r0tSX||krl||ƒ}d|g}|r^|jd|ƒtdj|ƒƒ‚||ƒ}|jj	ƒtS)Nr)Ú
commands_dictÚget_similar_commandszunknown command "%s"zmaybe you meant "%s"z - )
Úpip.commandsrr	Ú
IndexErrorrÚappendrÚjoinÚparserÚ
print_help)	ÚselfÚoptionsÚargsrr	Úcmd_nameÚguessÚmsgÚcommand©rú0/tmp/pip-build-l_bcah40/pip/pip/commands/help.pyÚruns


zHelpCommand.runN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚusageÚsummaryrrrrrrs
rN)Ú
__future__rÚpip.basecommandrrÚpip.exceptionsrrrrrrÚ<module>s