관리-도구
편집 파일: help.cpython-38.pyc
U ��.e� � @ sD d dl mZ d dlmZ d dlmZ d dlmZ G dd� de�ZdS )� )�absolute_import)�Command)�SUCCESS)�CommandErrorc @ s e Zd ZdZdZdZdd� ZdS )�HelpCommandzShow help for commandsz %prog <command>Tc C s� ddl m}m}m} z|d }W n tk r8 t Y S X ||krt||�}d| g}|rf|�d| � td�|���||�} | j � � tS )Nr )� commands_dict�create_command�get_similar_commandszunknown command "%s"zmaybe you meant "%s"z - )Zpip._internal.commandsr r r � IndexErrorr �appendr �join�parserZ print_help) �selfZoptions�argsr r r Zcmd_nameZguess�msgZcommand� r �?/usr/lib/python3.8/site-packages/pip/_internal/commands/help.py�run s zHelpCommand.runN)�__name__� __module__�__qualname__�__doc__ZusageZignore_require_venvr r r r r r s r N) Z __future__r Zpip._internal.cli.base_commandr Zpip._internal.cli.status_codesr Zpip._internal.exceptionsr r r r r r �<module> s