2bi1* ( S r SSKrSSKrSSKrSSKrSSKrSSKJr SSKJ r J r JrJrJ r SSKJr SSKJrJr SSKJrJr \R, " \5 r " S S \R2 5 r " S S\5 r " S S \R8 5 r " S S\5 rg)zBase option parser setup N)suppress)AnyDict GeneratorListTuple) UNKNOWN_ERROR) ConfigurationConfigurationError)redact_auth_from_url strtoboolc ^ \ rS rSrSrS\S\SS4U 4S jjrS\R S\ 4S jr SS\R S \ S\ S\ 4S jjrS \ S\ 4S jrS\ S\ 4S jr S\ S\ 4S jrS\ S\ 4S jrS\ S\ S\ 4S jrSrU =r$ )PrettyHelpFormatter z4A prettier/less verbose help formatter for optparse.argskwargsreturnNc v > SUS' SUS' [ R " 5 S S- US' [ TU ] " U0 UD6 g )N max_help_position indent_incrementr width)shutilget_terminal_sizesuper__init__)selfr r __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.pyr PrettyHelpFormatter.__init__ sG &("#%&!" 224Q7!;w $)&) optionc $ U R U5 $ N)_format_option_strings)r r$ s r! format_option_strings)PrettyHelpFormatter.format_option_strings s **622r# mvarfmtoptsepc $ / nUR ( a UR UR S 5 UR ( a UR UR S 5 [ U5 S: a UR SU5 UR 5 ( aj UR c eUR =( d UR R 5 nUR UR UR 5 5 5 SR U5 $ )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 r r )_short_optsappend _long_optsleninserttakes_valuedestmetavarlowerformatjoin)r r$ r* r+ optsr5 s r! r' *PrettyHelpFormatter._format_option_strings s KK**1-.KK))!,-t9q=KK6";;***nn;(9(9(;GKKw}}78wwt}r# headingc US:X a gUS- $ )NOptionsr- : )r r; s r! format_heading"PrettyHelpFormatter.format_heading9 s ir# usagec p SR U R [ R " U5 S5 5 nU$ )zb Ensure there is only one newline between usage and the first heading if there is no description. z Usage: {} )r7 indent_linestextwrapdedent)r rB msgs r! format_usage PrettyHelpFormatter.format_usage> s/ $$T%6%6xu7Mt%TU r# descriptionc U( aq [ U R S5 ( a SnOSnUR S5 nUR 5 nU R [ R " U5 S5 nU SU S3nU$ g)NmainCommandsDescription rD r> r- )hasattrparserlstriprstriprE rF rG )r rK labels r! format_description&PrettyHelpFormatter.format_descriptionF