OS : Linux
PHP Version : 7.4.33
Software : Apache/2.4.6 (CentOS) PHP/7.4.33
Information System : Linux apprendre2 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
Disable Function : 3 \xE @ s d Z ddlZddlZddlZddlZddlT dZejde Zejdeef Z e jddZG d d d Z dd Zd d ejD Zdd Zdd ZG dd dZedkrdZx2dD ]*Zede edjeee e qW dS )a6 distutils.fancy_getopt Wrapper around the standard getopt module that provides the following additional features: * short and long options are tied together * options have help strings, so fancy_getopt could potentially create a complete usage summary * options set attributes of a passed-in object N)*z[a-zA-Z](?:[a-zA-Z0-9-]*)z^%s$z^(%s)=!(%s)$-_c @ s e Zd ZdZdddZdd Zdd Zd d d Zdd Zd d Z dd Z dd Zdd Zdd Z d!ddZdd Zd"ddZd#ddZdS )$FancyGetopta Wrapper around the standard 'getopt()' module that provides some handy extra functionality: * short and long options are tied together * options have help strings, and help text can be assembled from them * options set attributes of a passed-in object * boolean options can have "negative aliases" -- eg. if --quiet is the "negative alias" of --verbose, then "--quiet" on the command line sets 'verbose' to false Nc C sN || _ i | _| j r| j i | _i | _g | _g | _i | _i | _i | _ g | _ d S )N)option_tableoption_index_build_indexaliasnegative_alias short_opts long_opts short2long attr_name takes_argoption_order)selfr r $/usr/lib64/python3.6/fancy_getopt.py__init__) s zFancyGetopt.__init__c C s, | j j x| jD ]}|| j |d <