관리-도구
편집 파일: help.cpython-36.pyc
3 �Re� � @ sl d dl mZ d dlmZ d dlmZ d dlmZ d dlm Z e rXd dl mZ d dlm Z G dd � d e�Zd S )� )�absolute_import)�Command)�SUCCESS)�CommandError)�MYPY_CHECK_RUNNING)�List)�Valuesc @ s e Zd ZdZdZdZdd� ZdS )�HelpCommandzShow help for commandsz %prog <command>Tc C s� ddl m}m}m} y|d }W n tk r4 tS X ||krt||�}dj|�g}|rf|jdj|�� tdj |���||�} | j j� tS )Nr )� commands_dict�create_command�get_similar_commandszunknown command "{}"zmaybe you meant "{}"z - )�pip._internal.commandsr r r � IndexErrorr �format�appendr �join�parser� print_help) �self�options�argsr r r �cmd_name�guess�msg�command� r ��/builddir/build/BUILDROOT/alt-python36-pip-20.2.4-5.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/commands/help.py�run s zHelpCommand.runN)�__name__� __module__�__qualname__�__doc__�usage�ignore_require_venvr r r r r r s r N)� __future__r �pip._internal.cli.base_commandr �pip._internal.cli.status_codesr �pip._internal.exceptionsr �pip._internal.utils.typingr �typingr �optparser r r r r r �<module> s