ACC SHELL

Path : /usr/share/YaST2/modules/
File Upload :
Current File : //usr/share/YaST2/modules/CommandLine.ybc

YaST bytecode 1.4.0CommandLine1CommandLine.ycp	DirectoryModeStageReportStringTypeRepositoryXML
commands_t			
cmdlineprompt	
systemcommands		modulecommandsallcommands
interactivedoneabortedcommandcache	verbosecmdlinespec	nosupport	
PrintInternal	Print		PrintNoCR	PrintVerbose	PrintVerboseNoCR	Error	Parse		PrintHeadPrintActionHelp	PrintGeneralHelpProcessSystemCommandsInit Scan	!GetInput		
"	UserInput		#
PasswordInput		$Command%StartGUI&Interactive'Aborted(Abort)Done*UniqueOption			+
fake_false,RunFunction-RunMapFunction				.Run/YesNo0Verboses	s	s	s	message		argumentscmdlineinfoargs  ""prompt	##prompt	$$%%<&&E''N((U))`**noptions		unique_options..commandline//T00l33WFMArgs3SCRReadWrite3
	Directory	schemadir	3ModecommandlineSetUI	3Stagestage		firstboot3ReportError	ImportNumYesNoMessagesNumMessagesNumWarnings	NumErrorsClearAllGetMessages	3StringParseOptions		Pad		UnderlinedHeader		3TypeRepositoryis_a	regex_validator		enum_validator	3XMLxmlCreateDoc
YCPToXMLFile
	0base#
commands_t		$	YaST2 > $
actionshelphelpPrint the help for this modulebaselonghelphelp,Print a long version of help for this modulebasexmlhelphelp:Print a long version of help for this module in XML formatbaseinteractivehelp-Start interactive shell to control the modulebaseexithelp*Exit interactive mode and save the changesbaseaborthelp1Abort interactive mode without saving the changesbaseoptionshelphelpPrint the help for this commandbaseverbosehelpShow progress informationbasexmlfilehelpWhere to store the XML outputbasetypestringmappings
aborthelpexithelphelphelpverboseinteractivehelpverbosexmlhelphelpverbosexmlfile$T
$Y
$^
$c$h$k
$p$u
$y>This YaST2 module does not support the command line interface.base%s	newline(!-(
4,	
	y2warning	
*CommandLine::Print: invalid argument (nil)-(
4(
,
SCR::Write.dev.tty
,
SCR::Write
.dev.tty.nocr
4(
,
SCR::Write.dev.tty.stderr
,
SCR::Write.dev.tty.stderr_nocr
%-
%-
%(4,
%(4,
%(
4,
(
4,5Use 'help' for a complete list of available commands.base4,		
sformat		
>Use 'yast2 %1 help' for a complete list of available commands.base	id%argscommand	optsallopts
cmdoptionsretgivenoptions	
non_strict$
(size-
$	,	
y2debug	

command=%1&remove,	
y2debug	
args=%1(4,	
y2error	
PCommandLine::Parse called with first parameter being empty. Arguments passed: %1
-
(!haskeyactions
4,		
sformat		
Unknown Command: %1base-command$mappings	$options
$
,maplistk(	&add
$$
,maplistaosos	o	,	
y2debug	
os=%1(	!	/	$

	$
			regexptokenize			
([^=]+)=(.+),	
y2debug	
o=%1
(
size
&
			add
	
	(size
4(			substring		
-	size	
=4,		
sformat		
Option '%1' is missing value.base			substring		
-	size	
(!
&&-
4&			add
(-
,	
y2debug	

options=%1$$containsactionsoptions	
non_strict(%4&,'	
y2debug	
Using non-strict check for %1,,		maplisto	valv	$-
	(.-.(/4/(0!41,3		
sformat		
#Unknown option for command '%1': %2base(4!
45&6&84:opttype	$>	type(@4@(Bregex4Bopttypespec	$C	typespec&D
(E4E,G		
sformat		
!Invalid value for option '%1': %2base
(H!
&H(Jenum4J&Ktypespec	
(L4L,N		
sformat		
!Invalid value for option '%1': %2base
(O!
&O(Qinteger4Qi$R	tointeger
&S(T4T,V		
sformat		
!Invalid value for option '%1': %2base
(W!
&W4Z'\4^(_
&_&`
(b4b,d		
sformat		
;Invalid value for option '%1' -- expected '%2', received %3base
(e!
&e4j(l
4m,n	
y2error	
RType specification for option '%1' is missing, cannot assign a value to the option,p		
sformat		
0Option '%1' cannot have a value. Given value: %2base
(q!
4r&s&u(|4|(}
4},		
sformat		
:Use '%1 %2 help' for a complete list of available options.base	id4,		
sformat		
@Use 'yast2 %1 %2 help' for a complete list of available options.base	id-
-commandoptions%head	headleni$
		
sformat		
YaST Configuration Module %1
base	idYaST$
	size	
$
)

4&
+			
-&
+
&
+			+			


,
%action	commandcommandhelphas_string_optionoptsallopts
longestopt
longestarg$actions

$help(4&No help availablebase$,		
sformat		
Command '%1'base
(	4,		
sformat		
    %1(	4,		foreache	
	,		
sformat		
    %1
$mappings
	(size4,-,

    Options:base$options
$$,foreachoptopt	$

$
	
type(
string&(&&&&
regex
enum
&
+			+			[
](
enum4&
[ ,		foreachs	
typespec	&
+			+			
 &
+			
](	size	
&	size	
(&&		size		4&	size		,foreachoptopt	$

$
	
type(&&&&
regex
enum
&
+			+			[
](
enum4&
[ ,		foreachs	
typespec	&
+			+			
 &
+			
]&
    (	4helptext	opthelp$$
help(	4&	(		4&		
	4,	
y2error	
XInvalid data type of help text, only 'string' or 'map<string,string>' types are allowed.,		
sformat		
        %1  %2  %3	
(4,
M
    Options of the [string] type must be written in the form 'option=value'.base(haskeyexample4example,

    Example:base$example(	4,		
sformat		

        %1(	4,		foreache		,		
sformat		

        %14,	
y2error	
!Unsupported data type - value: %1,#%)longest(+haskey
customhelp4,,-	
customhelp-.,2+			helpThis is a YaST2 module.base
,4
Basic Syntax:base(6!
46,8		
sformat		
    yast2 %1 interactive	id,<		
sformat		
*    yast2 %1 <command> [verbose] [options]base	id,>		
sformat		
    yast2 %1 help	id,?		
sformat		
    yast2 %1 longhelp	id,@		
sformat		
    yast2 %1 xmlhelp	id,C		
sformat		
    yast2 %1 <command> helpbase	id4D,G    <command> [options]base,J    <command> helpbase,L    help,M    longhelp,N    xmlhelp,O,P    exit,Q	    abort,T,V	Commands:base$X
,Y		foreachaction	descactions
(Z	size	
&Z
	size	,]		maplistcmd	descactions
,_		
sformat		

    %1  %2
helpNo help available.base,a(b!
4b,d		
sformat		
>Run 'yast2 %1 <command> help' for a list of available options.base	id,e%ocommand(s
optionshelp4s,t,u	
command-v(z	
commandinteractive4z&{
-|(	
commandexit4&&-(	
commandabort4&&-(	
commandhelp4(!haskey
customhelp4,,-(	
commandlonghelp4,,,		foreachaction	def

actions
,
-(	
commandxmlhelp4xmlfilename	doc	exportmapcommandsactions	mappings		options	(haskey
options
xmlfile4,bTarget file name ('xmlfile' option) is missing. Use xmlfile=<target_XML_file> command line option.base-$	
optionsxmlfile(||4,`Target file name ('xmlfile' option) is empty. Use xmlfile=<target_XML_file> command line option.base-$
'listEntries
commandscommandexamplesexampleoptionsoption'systemID+			/commandline.dtd'
typeNamespace http://www.suse.com/1.0/configns'rootElementcommandline,	xmlhelp$
$	$actions
$mappings
$options
,	
y2debug	
cmdlinespec: %1,		foreachaction	description

help	
help_valueoptsactiondescr$$
help(	4&	(	4&			mergestring				
4,	
y2error	
NUnsupported data type for 'help' key: %1, use 'string' or 'list<string>' type!$	,		foreachoption	
		optn$namehelp	help(	type4&addtype	type&add$helpname
options(haskey

example4exampleexamples$
example$&addexamples&add'commands'module	id,	xmlhelp,	
y2milestone	
exported XML map: %1--%cmdline_supported	id_string&
$(||!haskey
actionssize
actions
4&&!contains	WFM::Argsverbose$#	
id(&&&||!	4&,'	
y2error	
4Command line specification does not define module id(*haskey
id4*&+
remove
id&/
add
idunknownbase&2&3(8&&!haskey
help48,9	
y2error	
ECommand line specification does not define global help for the module&<&=(Ahaskey
actions4A,B		foreachaction	def


actions
(C!haskey
help4C,D	
y2error	
?Command line specification does not define help for action '%1'
&G&H(Nhaskey
options4N,O		foreachoption	def


options
(P!haskey
help4P,Q	
y2error	
?Command line specification does not define help for option '%1'
&T&U(X&&||	
typeregex	
typeenum!haskey
typespec4X,Y	
y2error	
CCommand line specification does not define typespec for option '%1'
&\&](chaskey
mappings4c,d		foreach	mapaction	def


mappings
(f!haskey
actions

4f,g	
y2error	
5Command line specification maps undefined action '%1'
&j&k,nforeachmapopt
(o!	/o(q!haskey
options
	4q,r	
y2error	
ECommand line specification maps undefined option '%1' for action '%2'
&u&v(|-|&~
&actionsunionactions

actions
	optionsunionoptions

options
	mappingsunion				mapmapact	optsmappings
union	helpverbose
mappings
	(||||size
normal4,dialog-4,commandline(!4help	,+			YaST2 	
id,$	
help(&&4,	
help,,,-&	+			+			YaST2 	
id> ,
SCR::Write.dev.tty.prompt	&
(4&
&!
&-
4&size&-!% res	$
		SCR::Read.dev.tty(
--

	separator %!prompt	type
res	,
SCR::Write.dev.tty.prompt
$(
	nohistory4&		SCR::Read.dev.tty.nohistory(
noecho4&		SCR::Read.dev.tty.noecho4&		SCR::Read.dev.tty,
SCR::Write.dev.tty.prompt	-%"-!
	nohistory%#-!
noecho%$(4(-
commandabort-
commandexit(size4result$
&
&!
-4(
4result*
newcommand	$
	*&
 size
(
4&-
commandexit&!
&&!(%4%(&-&
commandabort-'
commandexit$+&,
-.4/&1-2
commandexit%<%-=!%E&-F
%N'-O%U(&V&W%`)-a%n*cmdsiopt_list	
(psize
4p,q	
y2error	
NUnique test of options required, but the list of the possible options is empty-r$v						maplistkey	value							filteropt	value	


contains

(|size-|	$$)-size
4&+					
sformat		
'%1', 
&+&+					
sformat		
or '%1'base
(size4(size
4,		
sformat		
Specify the command '%1'.base
4,		
sformat		
 Specify one of the commands: %1.base-(size4,		
sformat		
%Specify only one of the commands: %1.base--	%+-%,functmy_functretreport	,$
$!$(	size	4RichText3RichText
Rich2Plain		,
-%-funct		arg		my_funct		retreport	,$
$!
$(	size	4RichText3RichText
Rich2Plain		,
-%.retinitialized,	
y2milestone	
(----------------------------------------,	
y2milestone	
Command line interface started(!
	WFM::Args4-!'$$(

initialize4&(%4(!haskey

guihandler4,	
y2error	
Missing GUI handler for %1	
id	<unknown>,5There is no user interface available for this module.base-(


guihandler4exec

symbol_ret
$



guihandler$
!
,	
y2debug	
GUI handler ret=%1
-
4exec$


guihandler+&!
,	
y2debug	
GUI handler ret=%1-4command	flagsoptions		exit	l
,
errors
showmessages
showwarnings
show,Readybase&$$	$
$$	)!)4mexec		$
$&
	
commandexit&
options
(!4(&&haskey
actions


initialize4ret,Initializingbase$,

initialize+(!4,	
y2milestone	
Module initialization failed-4& $%
		
actionshandler()
4)res$*-
(-&&!&,.(41(2!)42,3	
y2error	
%Unknown command '%1' from CommandLine/4&9!'(<&&&&
finish4<,>	Finishingbase&?,
finish+(@!4@,A	
y2milestone	
Module finishing failed-B,EDonebase,HQuitting (without changes)base,J	
y2milestone	
Commandline interface finished,K	
y2milestone	
(-----------------------------------------M%T/prompt	ui	yes	no	$W

yes or no?base$Y
"
$\
yesbase$_
nobase)a&&



4a&b
"
-e

%l0-m

ACC SHELL 2018