mirror of https://github.com/sbt/sbt.git
fix help whitespace parsing
This commit is contained in:
parent
2525eeb7e6
commit
0aadf5e500
|
|
@ -28,7 +28,7 @@ object BasicCommands
|
|||
val h = (Help.empty /: s.definedCommands)(_ ++ _.help(s))
|
||||
val helpCommands = h.detail.keySet
|
||||
val arg = (NotSpaceClass ~ any.*) map { case (ns, s) => (ns +: s).mkString }
|
||||
val spacedArg = token(Space) ~> token( arg examples helpCommands ).?
|
||||
val spacedArg = (token(Space) ~> token( arg examples helpCommands )).?
|
||||
applyEffect(spacedArg)(runHelp(s, h))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue