dunset

Restores default settings for variables

Format

Restores a CLI variable to its default value

dunset debugger-var

Restores all CLI variables to their default values

dunset -all

Arguments

debugger-var

Name of the CLI variable whose default setting is being restored.

-all

Restores the default settings of all CLI variables.

Description

The dunset command reverses the effects of any previous dset commands, restoring CLI variables to their default settings. See TotalView Variables for information on these variables.

Tcl variables (those created with the Tcl set command) are not affected by this command.

If you use the -all option, the dunset command affects all changed CLI variables, restoring them to the settings that existed when the CLI session began. Similarly, specifying debugger-var restores that one variable.

Examples

dunset PROMPT

Restores the prompt string to its default setting; that is, {[dfocus]>}.

dunset -all

Restores all CLI variables to their default settings.

Related Topics

dset