관리-도구
편집 파일: help.cpython-310.pyc
o ƚRel � @ sP d dl mZ d dlmZ d dlmZ d dlmZ d dlm Z G dd� de�Z dS ) � )�Values)�List)�Command)�SUCCESS)�CommandErrorc @ s2 e Zd ZdZdZdZdedee de fdd�Z d S ) �HelpCommandzShow help for commandsz %prog <command>T�options�args�returnc C s� ddl m}m}m} z|d }W n ty t Y S w ||vr=||�}d|� d�g}|r6|�d|� d�� td�|���||�} | j � � tS )Nr )� commands_dict�create_command�get_similar_commandszunknown command "�"zmaybe you meant "z - )�pip._internal.commandsr r r � IndexErrorr �appendr �join�parser� print_help) �selfr r r r r �cmd_name�guess�msg�command� r ��/builddir/build/BUILDROOT/alt-python310-pip-21.3.1-3.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/pip/_internal/commands/help.py�run s � zHelpCommand.runN)�__name__� __module__�__qualname__�__doc__�usage�ignore_require_venvr r �str�intr r r r r r s r N)�optparser �typingr �pip._internal.cli.base_commandr �pip._internal.cli.status_codesr �pip._internal.exceptionsr r r r r r �<module> s