2bi1*(SrSSKrSSKrSSKrSSKrSSKrSSKJr SSKJ r J r J r J r J r SSKJr SSKJrJr SSKJrJr \R,"\5r"SS \R25r"S S \5r"S S \R85r"SS\5rg)zBase option parser setupN)suppress)AnyDict GeneratorListTuple) UNKNOWN_ERROR) ConfigurationConfigurationError)redact_auth_from_url strtoboolc ^\rSrSrSrS\S\SS4U4SjjrS\RS\ 4S jr SS\RS \ S \ S\ 4S jjr S \ S\ 4Sjr S\ S\ 4Sjr S\ S\ 4SjrS\ S\ 4SjrS\ S\ S\ 4SjrSrU=r$)PrettyHelpFormatterz4A prettier/less verbose help formatter for optparse.argskwargsreturnNcv>SUS'SUS'[R"5SS- US'[TU] "U0UD6 g)Nmax_help_positionindent_incrementrwidth)shutilget_terminal_sizesuper__init__)selfrr __class__s ڊ/builddir/build/BUILDROOT/alt-python313-pip-23.3.1-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/pip/_internal/cli/parser.pyrPrettyHelpFormatter.__init__sG&("#%&!" 224Q7!;w $)&)optionc$URU5$N)_format_option_strings)rr$s r!format_option_strings)PrettyHelpFormatter.format_option_stringss**622r#mvarfmtoptsepc$/nUR(aURURS5 UR(aURURS5 [U5S:aUR SU5 UR 5(ajUR ceUR=(d UR R5nURURUR555 SRU5$)z Return a comma-separated list of option strings and metavars. :param option: tuple of (short opt, long opt), e.g: ('-f', '--format') :param mvarfmt: metavar format string :param optsep: separator rr) _short_optsappend _long_optsleninsert takes_valuedestmetavarlowerformatjoin)rr$r*r+optsr5s r!r'*PrettyHelpFormatter._format_option_stringss    KK**1- .    KK))!, - t9q= KK6 "     ;;* **nn; (9(9(;G KKw}}7 8wwt}r#headingcUS:XagUS-$)NOptionsr-: )rr;s r!format_heading"PrettyHelpFormatter.format_heading9s i r#usagecpSRUR[R"U5S55nU$)zb Ensure there is only one newline between usage and the first heading if there is no description. z Usage: {}  )r7 indent_linestextwrapdedent)rrBmsgs r! format_usage PrettyHelpFormatter.format_usage>s/ $$T%6%6xu7Mt%TU r# descriptioncU(aq[URS5(aSnOSnURS5nUR5nUR [ R "U5S5nUSUS3nU$g)NmainCommands Description rDr>r-)hasattrparserlstriprstriprErFrG)rrKlabels r!format_description&PrettyHelpFormatter.format_descriptionFst t{{F++"%%,,T2K%,,.K++HOOK,H$OK"G3{m26K r#epilogcU(aU$g)Nr-r?)rrXs r! format_epilog!PrettyHelpFormatter.format_epilogXs Mr#textindentctURS5Vs/sHo2U-PM nnSRU5$s snfNrP)splitr8)rr\r]line new_liness r!rE PrettyHelpFormatter.indent_lines_s8/3zz$/?@/?td]/? @yy##As5r?)z <{}>z, )__name__ __module__ __qualname____firstlineno____doc__rroptparseOptionstrr(r'r@rIrVrZrE__static_attributes__ __classcell__r s@r!rrs>*c*S*T*3HOO33NRoo03GJ 4cc ##cc$CC$$c$c$$r#rcL^\rSrSrSrS\R S\4U4SjjrSr U=r $)UpdatingDefaultsHelpFormatterdzCustom help formatter for use in ConfigOptionParser. This is updates the defaults before expanding them, allowing them to show up correctly in the help listing. Also redact auth from url type options r$rc4>SnURb[UR[5(deURRURR5 UR ceURRR UR 5n[TU]!U5nU(acURS:XaS[U[5(aU/n[U[5(d/nUHnURU[U55nM U$)NURL)rR isinstanceConfigOptionParser_update_defaultsdefaultsr4getrexpand_defaultr5rklistreplacer )rr$default_values help_textvalr s r!ry,UpdatingDefaultsHelpFormatter.expand_defaultms ;; "dkk+=>> >> KK ( ()=)= >;;* **![[1155fkkBNG*62 fnn5.#.."0!1nd33!#%%--c3G3LM &r#r?) rdrerfrgrhrirjrkryrlrmrns@r!rprpds$X__r#rpct\rSrSrS\S\S\S\R4Sjr\ S\ \R4Sj5r Sr g ) CustomOptionParseridxrrrcUR"U0UD6nURR5 URRX5 U$)z*Insert an OptionGroup at a given position.)add_option_group option_groupspopr2)rrrrgroups r!insert_option_group&CustomOptionParser.insert_option_groupsD%%t6v6   !!#- r#cURSSnURHnURUR5 M U$)zXl[U5UlUR(de[TU]"U0UD6 gr&)rr configrr)rrrrrr s r!rConfigOptionParser.__init__s4 #H- yyy $)&)r#r$keyr~cURX#5$![Ra.n[SU35 [R "S5 SnAgSnAff=f)Nz(An error occurred during configuration: ) check_valueriOptionValueErrorprintsysexit)rr$rr~excs r! check_default ConfigOptionParser.check_defaultsK %%c/ /((  ++-F;;* **ll6;;/G'3'' //1(.(:(:7(L% . x((" / IImSX . . /sD ED??ErHctUR[R5 UR[US35 gr_) print_usagerstderrrr )rrHs r!rConfigOptionParser.error$s( $ -C5,r#)rrr)rdrerfrgrhrrkboolrrirjrrrrrrvrrrrlrmrns@r!rurus7 * * * *  *  * *HOO#CC 5c?D$. /8>c3h>DcN>@)HOO),----r#ru)rhloggingrirrrF contextlibrtypingrrrrrpip._internal.cli.status_codesr pip._internal.configurationr r pip._internal.utils.miscr r getLoggerrdrIndentedHelpFormatterrrp OptionParserrrur?r#r!rs} 448ID   8 $O$(88O$d$7@..,L-+L-r#