14.4.3 How to specify column filters
You can display only selected columns by specifying the --columns option in the subcommands of the eztool command that display execution results. You can also rearrange the order in which columns are displayed.
If the --columns option is not specified, the items (columns) predefined for each subcommand are displayed in the predefined order.
The command will fail to execute in the following cases:
-
The same column name is specified more than once.
-
A nonexistent column name is specified.
- Organization of this subsection
(1) Option specification format
--columns column-name[,column-name]...
(2) Arguments
(a) column-name[,column-name]...
This argument specifies the names of the columns to be displayed in the execution results in the order in which they are to be displayed. Column names are case-sensitive.
The --columns option is used to filter the columns to be displayed. The names of columns that are not displayed cannot be specified in this option. For example, the names of the columns that are displayed only when the -v option is specified cannot be specified if the -v option is not specified.
(3) Execution example
The following example specifies the --columns option in the eztool status -v command: