mirror of https://github.com/sbt/sbt.git
parent
e30a481585
commit
9ffae4e31f
|
|
@ -69,7 +69,7 @@ object Cross {
|
|||
token(CrossCommand <~ OptSpace) flatMap { _ =>
|
||||
(token(Parser.opt("-v" <~ Space)) ~ token(matched(state.combinedParser))).map {
|
||||
case (verbose, command) => CrossArgs(command, verbose.isDefined)
|
||||
} & spacedFirst(CrossCommand)
|
||||
}
|
||||
}
|
||||
|
||||
private def crossRestoreSessionParser: Parser[String] = token(CrossRestoreSessionCommand)
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
addCommandAlias("demo-success", "run true")
|
||||
addCommandAlias("demo-failure", "run false")
|
||||
addCommandAlias("z", "scalaVersion")
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
> demo-success
|
||||
-> demo-failure
|
||||
> +z
|
||||
|
|
|
|||
Loading…
Reference in New Issue