out.println(DESCRIPTION_OPTIONS_MANDATORY);
out.print(" s -- ");
out.println(DESCRIPTION_OPTIONS_SINGLE);
out.println();
TableBuilder table = new TableBuilder();
table.appendHeading(INFO_DSCFG_HEADING_PROPERTY_NAME.get());
table.appendHeading(INFO_DSCFG_HEADING_PROPERTY_OPTIONS.get());
table.appendHeading(INFO_DSCFG_HEADING_PROPERTY_SYNTAX.get());
table.appendHeading(INFO_CLI_HEADING_PROPERTY_DEFAULT_VALUE.get());
for (AdministratorProperty adminUserProp : userAdminProperties.keySet())
{
if (userAdminProperties.get(adminUserProp).isHidden())
{
continue;
}
table.startRow();
table.appendCell(adminUserProp.getAttributeName());
table.appendCell(getPropertyOptionSummary(userAdminProperties
.get(adminUserProp)));
table.appendCell(adminUserProp.getAttributeSyntax());
if (userAdminProperties.get(adminUserProp).getDefaultValue() != null)
{
table.appendCell(userAdminProperties.get(adminUserProp)
.getDefaultValue());
}
else
{
table.appendCell("-");
}
}
TextTablePrinter printer = new TextTablePrinter(outStream);
table.print(printer);
returnCode = SUCCESSFUL;
}
// -----------------------
// ERROR
// -----------------------