About
XSH
Program interface definition
XSLT documentation
Source code
/
program
/
2.0
/ base.html
Table of content
Parameters
prg.prefix
prg.debug
="false()"
Templates
prg.prefixedName
(
name
)
prg.cliOptionName
(
nameNode
="
.
")
prg.optionLevel
(
optionNode
="
.
",
_level
="
0
")
prg.optionId
(
optionNode
="
.
")
prg.programDisplayName
()
Details
Parameters
prg.prefix
prg.debug
="false()"
Default value:
false()
Templates
prg.prefixedName
(
name
)
Display the given name prefixed by the value of the parameter prg.prefix
name
prg.cliOptionName
(
nameNode
="
.
")
Option name as it appears on a command line
nameNode
Default value:
.
prg.optionLevel
(
optionNode
="
.
",
_level
="
0
")
Option level in the Option tree
optionNode
Option node
Default value:
.
_level
For internal use
Default value:
0
prg.optionId
(
optionNode
="
.
")
Build a unique option id using the full path of the option from the prg:program node
optionNode
Default value:
.
prg.programDisplayName
()
'User-friendly name' of the program