AlkantarClanX12
Current Path : /proc/self/root/opt/alt/python311/lib64/python3.11/__pycache__/ |
Current File : //proc/self/root/opt/alt/python311/lib64/python3.11/__pycache__/getopt.cpython-311.opt-2.pyc |
� c��fA � �� � g d �Z ddlZ ddlmZ n# e$ r d� ZY nw xY w G d� de� � ZeZg fd�Zg fd�Z d � Z d � Zd� Zd� Z ed k r+ddlZ e eej dd� dddg� � � � dS dS ))�GetoptError�error�getopt� gnu_getopt� N)�gettextc � � | S �N� )�ss �-/opt/alt/python311/lib64/python3.11/getopt.py�_r ) s � �Q�h� c �$ � e Zd ZdZdZdd�Zd� ZdS )r � c �Z � || _ || _ t � | ||� � d S r )�msg�opt� Exception�__init__)�selfr r s r r zGetoptError.__init__. s. � ����������4��c�*�*�*�*�*r c � � | j S r )r )r s r �__str__zGetoptError.__str__3 s � ��x�r N)r )�__name__� __module__�__qualname__r r r r r r r r r + sA � � � � � � �C� �C�+� +� +� +� � � � � r r c �, � g }t |� � t d� � k r|g}nt |� � }| r�| d � d� � r�| d dk r�| d dk r| dd � } n�| d � d� � r,t || d dd � || dd � � � \ }} n+t || d dd � || dd � � � \ }} | r'| d � d� � r| d dk ��|| fS )Nr r �-�--� � )�type�list� startswith�do_longs� do_shorts)�args� shortopts�longopts�optss r r r 8 s5 � ��4 �D��H�~�~��b���!�!��:�����>�>�� � K�4��7�%�%�c�*�*� K�t�A�w�#�~�~���7�d�?�?�����8�D����7���d�#�#� K�!�$��Q������X�t�A�B�B�x�H�H�J�D�$�$�"�4��a������i��a�b�b��J�J�J�D�$� � K�4��7�%�%�c�*�*� K�t�A�w�#�~�~� ��:�r c � � g }g }t |t � � r|g}nt |� � }|� d� � r |dd � }d}n$t j � d� � rd}nd}| r�| d dk r|| dd � z }n�| d d d� dk r,t || d dd � || dd � � � \ }} ny| d d d� d k r8| d d k r,t || d dd � || dd � � � \ }} n-|r|| z }n'|� | d � � | dd � } | ��||fS ) N�+r T�POSIXLY_CORRECTFr r r r ) � isinstance�strr"