§
áVË%;ìã ó¼ — d Z ddlZddlZddlZddlZddlT dZ ej dez ¦ « Z ej de›de›d�¦ « Z e
d d
¦ « Z G d„ d¦ « Z
d
„ Zd„ ej D ¦ « Zd„ Zd„ Z G d„ d¦ « Zedk rGdZdD ]DZ edez ¦ « ed eee¦ « ¦ « ¦ « e¦ « ŒCdS 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^(z)=!(z)$ú-Ú_c óp — e Zd ZdZdd„Zd„ Zd„ Zdd„Zd„ Zd„ Z d „ Z
d
„ Zd„ Zd„ Z
dd
„Zd„ Zdd„Zdd„ZdS )Ú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 óÈ — || _ i | _ | j r| ¦ « i | _ i | _ g | _ g | _ i | _ i | _ i | _ g | _
d S ©N)Úoption_tableÚoption_indexÚ_build_indexÚaliasÚnegative_aliasÚ
short_optsÚ long_optsÚ
short2longÚ attr_nameÚ takes_argÚoption_order©Úselfr
s ú=/opt/alt/python311/lib64/python3.11/distutils/fancy_getopt.pyÚ__init__zFancyGetopt.__init__) s{ € ð )ˆÔð ˆÔØÔð Ø×ÒÑÔÐ𠈌
ð !ˆÔ𠈌؈ŒØˆŒØˆŒØˆŒð
ˆÔÐÐó c ól — | j ¦ « | j D ]}|| j |d <