3 igl@sPddlmZddlmZddlmZddlmZddlm Z GdddeZ dS) )Values)List)Command)SUCCESS) CommandErrorc@s.eZdZdZdZdZeeee dddZ dS) HelpCommandzShow help for commandsz %prog T)optionsargsreturnc Csddlm}m}m}y |d}Wntk r4tSX||krx||}d|dg}|rj|jd|dtdj|||} | j j tS)Nr) commands_dictcreate_commandget_similar_commandszunknown command ""zmaybe you meant "z - ) Zpip._internal.commandsr r r IndexErrorrappendrjoinparser print_help) selfrr r r r cmd_nameguessmsgcommandr:/tmp/pip-build-88gy_88q/pip/pip/_internal/commands/help.pyruns  zHelpCommand.runN) __name__ __module__ __qualname____doc__usageZignore_require_venvrrstrintrrrrrr srN) optparserZtypingrZpip._internal.cli.base_commandrZpip._internal.cli.status_codesrZpip._internal.exceptionsrrrrrrs