Owner manual

AM456-9026A HP VMA SAN Gateway Users Guide 143
Note: When scripting CLI commands, the shorthand versions should not be used, since commands
that appear in a future release could potentially change the acceptable shorthand version of a given
command.
Getting Help
In any mode of the CLI you can query for help by using the help command or a question mark.
Enter
help at the prompt for a summary of how to use question marks to obtain context-sensitive
help, as described here. Just entering a question mark
? by itself provides a list of available
commands corresponding to the current mode. (Modes are described in Command Modes on page
145.)
You can also query for options of a specific command by typing in the command, following it with
a space, and adding a question mark. After displaying a list of options, the command line echoes the
string and puts the cursor after it, ready for more input.
For example, in Standard mode you can enter
cli ? at the command line and see the following
output.
If the command is complete without further options or values,
<cr> is displayed on a separate line
and the command is echoed at the prompt. Pressing the Enter key (also known as carriage return,
<cr> will then issue the command if no values are required, or <value required> will be
displayed.
> cli ?
clear-history Clear the command history for the current user
session Configure CLI options for this session only
> cli