mirror of https://github.com/sbt/sbt.git
Support whitespace after --sbt-script
`=` gets treated as a whitespace in batch, so it would be good to support whitespace.
This commit is contained in:
parent
6ebbbe5e0a
commit
b631dffed6
|
|
@ -998,6 +998,9 @@ object NetworkClient {
|
|||
completionArguments += a
|
||||
case a if a.startsWith("--sbt-script=") =>
|
||||
sbtScript = a.split("--sbt-script=").lastOption.getOrElse(sbtScript)
|
||||
case "--sbt-script" if i + 1 < sanitized.length =>
|
||||
i += 1
|
||||
sbtScript = sanitized(i)
|
||||
case a if !a.startsWith("-") => commandArgs += a
|
||||
case a @ SysProp(key, value) =>
|
||||
System.setProperty(key, value)
|
||||
|
|
|
|||
Loading…
Reference in New Issue