Commands starting with ';' will be split around ';', allowing multiple commands at the interactive prompt.

This commit is contained in:
Mark Harrah 2010-04-06 14:24:26 -04:00
parent eb295fc54b
commit 30f3fdbfd7
1 changed files with 1 additions and 0 deletions

View File

@ -156,6 +156,7 @@ class xMain extends xsbti.AppMain
arguments match
{
case "" :: tail => continue(project, tail, failAction)
case x :: tail if x.startsWith(";") => continue(project, x.split(";").toList ::: arguments, failAction)
case (ExitCommand | QuitCommand) :: _ => result( Exit(NormalExitCode) )
case RebootCommand :: tail => reload( tail )
case InteractiveCommand :: _ => continue(project, prompt(baseProject, project) :: arguments, interactiveContinue)