Common command flags

You can use these flags with any command-line interface command.

Parameters Description
-p on | off Turns paging on or off. Displays 24 rows at a time unless used with the -r flag. The default is off in single-shot mode and on in interactive mode. You can page up or down by pressing any key. You can specify -p on or -p off to turn the paging on or off; but if you specify only -p, you get an error.
Note: You can only use this flag with the ls type (for example, lsuser, lskey, lsserver) commands and the help (setoutput) command.
-r number Specifies the number of rows (1 - 100) per page. This flag is valid only when the -p flag is set to on. The default value is 24 rows.
Note: You can only use this flag with the ls type (for example, lsuser, lskey, lsserver) commands and the help (setoutput) command.
-fmt xml | stanza | delim | default
xml
Sets the output format to XML.
Note: You can use this option only with list (for example, lsuser, lskey, lsserver) commands
stanza
Sets the output format to stanza.
Note: You can use this option only with list (for example, lsuser, lskey, lsserver) commands
delim
Sets the output format to a table. You must set the column delimiter to a single character with the -delim flag.
Note: You can use this option only with list (for example, lsuser, lskey, lsserver) commands
default
Sets the output to a space-separated plain text table.
Note: You can use this option only with list (for example, lsuser, lskey, lsserver) commands
-delim char Sets the output to delimited output and the delimiter to the single character char. You must enclose char in single or double quotation marks if the character is a shell metacharacter (such as * or \t). If char is not specified, the CLI program returns a syntax error. A blank space, even when it is enclosed within quotation marks, is not a valid character as a delimiter.
Note: You can use this option only with list (for example, lsuser, lskey, lsserver) commands
-hdr on | off Turns the header on or off. The default is on. You can specify -hdr on or -hdr off to turn the header on or off; but if you specify only -hdr, you get an error.
-bnr on | off Turns the banner on or off. The default is on. You can specify -bnr on or -bnr off to turn the banner on or off; but if you specify only -bnr, you get an error.
-v on | off Turns verbose mode on or off. The default is off. You can specify -v on or -v off to turn verbose mode on or off; but if you specify only -v, you get an error.
-fullid Provides fully qualified IDs, which include the storage image ID, for every ID that is displayed in the command output.
Note: You can use this command flag only with the list (for example, lsioport, lskey) and show (for example, showsu, showlss) commands.
-help | -h | -? Displays a detailed description of the specified command, including syntax, parameter descriptions, and examples. If you specify a help option, all other command options are ignored.
-s Displays the short output for the command, which is usually a single column of the resource IDs of the objects specified by the command. For detailed information, see the -s parameter for that command.
Notes:
  1. You can only use this flag with the help (setoutput) command and the ls type (for example, lsuser, lsserver) commands, except for lskey.
  2. You cannot use the -s and -l parameters together.
-l Displays the long output for the command, which is the default output plus additional columns of data to the right of the default columns. For detailed information for a specific command, see the -l parameter for that command.
Notes:
  1. You can only use this flag with the help (setoutput) command and the ls type (for example, lsuser, lsserver) commands, except for lskey.
  2. You cannot use the -s and -l parameters together.