QQuotaOptions options = parse(args);
if (options == null) {
return;
}
QQuotaResult res = jgdi.getQQuota(options);
if (!res.getResourceQuotaRules().isEmpty()) {
out.println("resource quota rule limit filter");
out.println("--------------------------------------------------------------------------------");
for (ResourceQuotaRuleInfo info : res.getResourceQuotaRules()) {
// need a Formatter here
out.print(info.getResouceQuotaRuleName());
for (ResourceQuota relim : info.getLimits()) {
out.print(" " + relim.getName() + "=" + relim.getUsageValue() + "/" + relim.getLimitValue());
}