+
    G%@ig                          R t Rt^ RIt^ RIt^ RIt^ RIHt ^ RIHt Rt	Rt
]P                  ! ]
]	4       R t]t ! R R	4      tR# )
zu
This module houses the i18n setup and message function. The default is to use
gettext to internationalize messages.
z4.10.2N)ArgumentParser)SosListOptionz/usr/share/localesosc                 8    \         P                  ! \        V 4      # N)gettextdgettextgettext_app)msgs   &./usr/lib/python3/dist-packages/sos/__init__.py_defaultr      s    K--    c                   <   a  ] tR t^&t o RtR tR tR tR tRt	V t
R# )SoSa>  Main entrypoint for sos from the command line

Upon intialization, this class loads the basic option parser which will
include the options shared by support components/subcommands. This is also
where all subcommands present in the local installation are discovered,
loaded, and if a matching one is found, intialized.
c           	     2   Wn         ^ RIp^ RIp^ RIp^ RIpRVP
                  P                  R.3RVP                  P                  RR.3RVP                  P                  . 3RVP                  P                  . 3/V n         ^ RIpVP                  P                   R	.3V P                  R
&   RpT P                  P1                  4        FT  w  rVT^,          pTP3                  ^ T4       RP5                  T4      pT^ ,          P6                  p	TRTR T	 R2,          pKV  	  Rp
Y,           p
Rp\9        YR7      T n        T P:                  P=                  RR\>        4       T P:                  PA                  RRRR7      T n!        RT PB                  n"        T P                  P1                  4        F  w  rT PB                  PG                  TT^,          RT 2R7      pRT R2Tn$        TP=                  RR\>        4       T PK                  T4       T^ ,          PM                  TR7       TPO                  TR7       K  	  T P:                  PQ                  T P                   4      T n)        T PU                  4        R#   \"         d   p^ RIpR\'        TP(                  4      9   d,   TP*                  P,                  . 3T P                  R
&    Rp?ELR\'        TP(                  4      9   d,   TP*                  P.                  . 3T P                  R
&    Rp?ELdh Rp?ii ; i)     Nreportrepcleancleanermaskhelpupload	collectorcollectzsos.collectorpexpect z, 	z<30
z6%(prog)s <component> [options]

Available components:
z1See `sos <component> --help` for more information)usageepilogactionextend	componentzsos component to run)destmetavarr   Tzsos )aliasesprogz
 [options])parser)r#   )+cmdline
sos.reportsos.cleanersos.help
sos.uploadr   	SoSReportr   
SoSCleanerr   	SoSHelperr   	SoSUpload_componentssos.collectorr   SoSCollectorModuleNotFoundErrorsos.missingstrr
   missingMissingCollectMissingPexpectitemsinsertjoindescr   r(   registerr   add_subparsers
subparsersrequired
add_parserr   _add_common_optionsadd_parser_optionsset_defaults
parse_argsargs_init_component)selfrH   r   err_com_stringcomvaluer&   _comr>   usage_stringr    comp_com_subparsers   &&            r   __init__SoS.__init__/   s    	szz++eW5ckk,,y&.ABSXX'',szz++R0	
	 +.==+E+E,7=+:DY' **002JCAhGNN1c"99W%D8==Dbc
4&34K 32#1D$<GXx?++44' 5 

 $(   ++113KD!__77aD6] 8 N
 &*$z#:N ##HhF$$^4!H''~'>''$'7 4 KK**4<<8	_ # 
	#cgg,./2{{/I/I2.N  +c#''l*/2{{/I/I2.N  + 
	s%   *I7 7LAL?LLLc           
     f   VP                  R4      pVP                  RRRRR7       VP                  R\        RR	R
RR7       VP                  RRRRR7       VP                  RRRRRRR7       VP                  RRRRRRR7       VP                  RRRRRR7       VP                  RRRR ^\        R!R"7       VP                  R#R$R%R&^ R'R7       VP                  R(R)R*. R4OR+R,7       VP	                  4       pVP                  R-RRR.R7       VP                  R/R0R17       VP                  R2R3R17       R# )5z@Adds the options shared across components to the parser
        zGlobal Optionsz--batchF
store_truezDo not prompt interactively)defaultr!   r   z--config-filestoreconfig_filez/etc/sos/sos.confz$specify alternate configuration file)typer!   r$   rW   r   z--debugdebugz6enable interactive debugging using the python debugger)r!   r$   r   z-qz--quietquietzonly print fatal errors)r!   r$   rW   r   z-sz	--sysrootsysrootNz!system rootdir path (default='/')z	--tmp-dirtmp_dirz%specify alternate temporary directoryz-tz	--threadsthreadszNumber of threads to use)r!   r$   rW   rZ   r   z-vz	--verbosecount	verbosityzincrease verbosityz-zz--compression-typecompression_typezcompression technology to use)r$   choicesr   z	--encryptz_Encrypt the archive, either prompting for a password/key or referencing an environment variablez--encrypt-keyz(Encrypt the archive using a GPG key-pair)r   z--encrypt-passz$Encrypt the archive using a password)autogzipxz)add_argument_groupadd_argumentr7   intadd_mutually_exclusive_group)rJ   r(   
global_grpencrypt_grps   &&  r   rD   SoS._add_common_optionsx   s    ../?@
	5%B 	  	Dc'%2(;%K 	  	M 		,W&7 	  	8 	i%,e%> 	  	@ 	k'%.%H 	  	J 	G)(,%L 	  	N 	k'%.%? 	  	A 	k'%0!%9 	  	; 	&:%7(>%D 	  	F !==?  e(4(A 	! 	C
 	  '1 	! 	2 	  !1&L 	! 	Nr   c                *   V P                   P                  pWP                  9  d   \        RV R24        V P                  V,          ^ ,          pVP                  '       d&   \
        P                  ! 4       ^ 8X  g   \        R4      hV! V P                  V P                   V P                  4      V n
        R#   \         dQ   p\        RT RT 24       T P                   P                  '       d   Th\        P                  ! ^4        Rp?R# Rp?ii ; i)z^Determine which component has been requested by the user, and then
initialize that component.
zUnknown subcommand 'z' specifiedz*Component must be run with root privilegeszCould not initialize 'z': N)rH   r#   r2   printroot_requiredosgetuid	Exceptionr(   r)   
_componentr[   sysexit)rJ   rO   _to_loadrK   s   &   r   rI   SoS._init_component   s     yy""'''(k:;
	''-a0H%%%biikQ.> LMM&t{{DIIt||LDO 	*4&C59:yy	HHQKK		s   +B7 #AB7 7DADDc                :    V P                   P                  4        R # r   )rt   execute)rJ   s   &r   rz   SoS.execute   s    !r   )rt   r2   rH   r)   r(   rA   N)__name__
__module____qualname____firstlineno____doc__rS   rD   rI   rz   __static_attributes____classdictcell__)__classdict__s   @r   r   r   &   s'     GR-N^&" "r   r   )r   __version__rq   ru   r   argparser   sos.optionsr   gettext_dirr	   bindtextdomainr   _sosr    r   r   <module>r      sR     	 
  # %!   {K 0. U" U"r   