CLI Tools Command Syntax
Most CLI tools commands conform to one of the following
two command syntax formats:
The following table describes the command fields.
The action that you want to perform. Identifies that CLI tool
that you are using. Consists of lower-case letters only.
biosconfig, fwupdate, raidconfig,
Further defines the task to be performed by the command.
Generally used as verbs.
Consists of lower-case letters, hyphens, or the underscore character.
The subcommand is not required when the –-version or –-help options is used immediately following the command.
list, update, reset,
Describes the object or target that is being acted upon by the
subcommand. Application specific.
all, disk, expander,
bridge, controller, user,
Modifies the command or subcommand and can be optional or mandatory
depending on the command or subcommand.
There are long and short options that have identical functionality
and are provided for ease of use:
Short-option is a hyphen followed by a single letter.
Long-option is two hyphens followed by a string.
–n or --device_name
–f or --filename
–r or --reset
The following options apply to all CLI Tools commands.
Displays help information.
Displays the tool version.
Suppresses informational message output and returns only error codes.
Confirms operation. Does not prompt user for confirmation on the operation when
When using a command option and its corresponding value or device
name, you can use an equal sign (=) or a space as shown in the following
Using a command with spaces:
create raid -c c2 --raid-level 1 --number-disks 2
Using a command with equal signs (=):
raidconfig create raid -c=c2 --raid-level=1 --number-disks=2