CLI Guide
Using The omhelp Command
The omhelp command and its equivalent, <command> -?, accesses the detailed help-text interface of Command Line Interface (CLI). You
can get help at several levels of detail.
Each fully-qualied CLI command may have a variable number of distinct parts: the command (command level 1), one or more
subcommands (command level 2 and command level 3, if present), and one or more name= value pair(s).
By appending -?(space-dash-question mark) to any command, you can get help for that command.
Example Help Commands
When you type omconfig -?, you get general help about the omcong command. The help at this level lists the available subcommands
for omcong:
• about
• preferences
• chassis
• system
When you type omconfig system -?, the CLI help lists all the subcommands available for omcong system:
• alertaction
• alertlog
• assetinfo
• cmdlog
• esmlog
• events
• platformevents
• pedestinations
• recovery
• shutdown
• thrmshutdown
• webserver
Also parse the omcong system assetinfo command as follows:
<command level 1 command level 2 command level 3> <name=value pair 1> [name=value pair 2]
where command levels 1, 2, and 3 are represented by omcong system assetinfo, name=value pair 1 is represented by info=depreciation ,
and name=value pair 2 is represented by method=straightline.
To set the depreciation method to straight line, type:
omconfig system assetinfo info=depreciation method=straightline
The CLI responds with the following message:
Asset information set successfully.
2
14 Using The omhelp Command