HP 3PAR Command Line Interface Administrator's Manual: HP 3PAR OS 3.1.2 (QR482-96525, September 2013)

Setting the Environment Variable on Windows
To set the TPDNOHDTOT or TPDHAFTER environment variable in Windows:
1. Perform Step 1 through Step 4 of the procedure for setting the TPDSOCKSSL environment
variable in Windows as described in “Using SSL” (page 44).
2. In the Environment Variable dialog box, enter TPDNOHDTOT or TPDHAFTER in the Variable
box.
3. Enter 1 in the Value box.
4. Click OK.
Using the -nohdtot Option
To set the -nohdtot global option, see the following example:
$ cli -nohdtot
Using the -hafter Option
To set the -hafter global option, see the following example:
$ cli -hafter 20
Forcing Commands
A number of CLI commands return confirmation prompts before executing the command operations.
For these commands, an f option is provided allowing you to bypass the confirmation and force
the execution of the command. The TPDFORCE environment variable automatically provides the
functionality of the -f option and alleviates the need of having to specify the f option when
issuing commands that would otherwise require a confirmation.
The TPDFORCE environment variable is set differently in Solaris and Linux, and Windows.
Setting the TPDFORCE Environment Variable on Solaris and Linux
To set the TPDFORCE environment variable in Solaris and Linux, see the following system output
example:
$ TPDFORCE=1
$ export TPDFORCE
$ cli
Setting the TPDFORCE Environment Variable on Windows
To set the TPDFORCE environment variable in Windows:
1. Perform Step 1 through Step 4 of the procedure for setting the TPDSOCKSSL environment
variable in Windows, as described in “Using SSL” (page 44).
2. Enter TPDFORCE in the Variable box.
3. Enter 1 in the Value box.
4. Click OK.
Global Options and Environment Variables 51