Syntax and Conventions for CLI Commands
Value
A value is a type that applies to a switch. For each switch, you can
have only one type of value. For example, a switch that is defined as
a string value can never take an integer value. A space may be used
within a value only within a quoted string. Examples of valid value
types include Boolean, integer, string, scsi_device, free_space, and
array.
You delimit a value that applies to a switch by using an equal sign,
as in the following example:
AAC0>disk list /all =TRUE
Executing: disk list /all=TRUE
Note that a space to the left or right of the equal sign is permitted.
Parameter
Although some commands have optional parameters, parameters are
usually mandatory. You must place optional parameters after
mandatory parameters at the end of the command. For example, the
array remove failover command has one required
scsi_device parameter and additional optional scsi_device
parameters: array remove failover {array}
{scsi_device} [{scsi_device}...].
As with switch values, parameters can be of only one type. For
example, the array parameter can take only an integer value.
All parameters are separated by blank space. A space can be used in
a parameter only within a quoted string.
Blank Space
Blank space is one or more spaces or tabs.
CLI Parameter and Switch Value Types
A parameter or switch value can be only one of several types.
Simple value types include string, Boolean, and integer. Other value
types include objects that can be manipulated, such as arrays (or
arrays) and devices. This section explains the CLI parameter and
switch value types.
3-4