Description
Get information about all parameters.
Syntax
report_param [-file <arg>] [-append] [-non_default] [-return_string] [-quiet] [-verbose] [<pattern>]
Returns
Param report.
Usage
Name | Description |
---|---|
[-file ] |
Filename to output results to. (send output to console if -file is not used) |
[-append ] |
Append the results to file; do not overwrite the results file |
[-non_default ] |
Report only params that are set to a non default value |
[-return_string ] |
Return report as string |
[-quiet ] |
Ignore command errors |
[-verbose ] |
Suspend message limits during command execution |
[<pattern>] | Display params matching pattern Default: * |
Categories
PropertyAndParameter, Report
Description
Gets a list of all user-definable parameters, the current value, and a description of what the parameter configures or controls.
Arguments
-file
<arg> - (optional) Write
the report into the specified file. The specified file will be overwritten if one
already exists, unless -append is also specified.
-append
- (optional) Append the output of the
command to the specified file rather than overwriting it.
-append
option can only be used with the -file
option.
-return_string
- (optional) Directs the output to a
Tcl string rather than to the standard output. The Tcl string can be captured by a
variable definition and parsed or otherwise processed.
-file
option.-quiet
– (optional) Execute
the command quietly, returning no messages from the command. The command
also returns TCL_OK
regardless of any
errors encountered during execution. -verbose
– (optional) Temporarily override
any message limits and return all messages from this command.set_msg_config
command.<pattern> (optional) Match parameters against the specified pattern. The default pattern is the wildcard `*` which gets all user-definable parameters.
Examples
The following example returns the name, value, and description of all user-definable parameters:
common::report_param
The following example returns the name, value, and description of user-definable parameters that match the specified search pattern:
common::report_param *coll*