Navigation Menu

Skip to content

Commit

Permalink
Output multiple domains correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Aug 3, 2012
1 parent ec62ebf commit ae60330
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/cs-describe-domain
Expand Up @@ -35,7 +35,8 @@ if (program.domainName) {
var domain = new commandLine.Domain(program.domainName, context);
report(domain);
} else {
Domain.getAll(context).forEach(function(domain, index) {
var domains = commandLine.Domain.getAll(context);
domains.forEach(function(domain, index) {
if (index) console.log('========================================');
report(domain);
});
Expand Down

0 comments on commit ae60330

Please sign in to comment.