String collist = arrayToString(getColumnHeadings(cols));
String msg = localStrings.getLocalString(GenericCrudCommand.class,
"GenericListCommand.invalidOutputOpts",
"Invalid output option. Choose from the following columns: {0}",
collist);
report.failure(logger, msg);
return;
}
cols = filterColumns(cols, outputOpts);
// sort the columns based on column ordering
Collections.sort(cols, new Comparator<ColumnInfo>() {