sort output of 'projects' by name. fixes #182.

This commit is contained in:
Mark Harrah 2011-09-13 22:56:55 -04:00
parent 9d0cb47e0a
commit 79131a60d1
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,7 @@ object BuiltinCommands
{
log.info("In " + uri)
def prefix(id: String) = if(currentID != id) " " else if(current) " * " else "(*)"
for(id <- build.defined.keys) log.info("\t" + prefix(id) + id)
for(id <- build.defined.keys.toSeq.sorted) log.info("\t" + prefix(id) + id)
}
def act = Command.custom(Act.actParser)