diff options
author | rockjam <5min4eq.unity@gmail.com> | 2018-03-20 21:11:17 +0300 |
---|---|---|
committer | rockjam <5min4eq.unity@gmail.com> | 2018-03-20 21:11:17 +0300 |
commit | fe8a24fe8630be2cf70f48abb774dc9c897c4210 (patch) | |
tree | 4482c4a048136a36eb5a738f55caf2b895a285cd /core | |
parent | cb30f1c42c818b2a2b1e216823ca09c8430da5f9 (diff) | |
download | mill-fe8a24fe8630be2cf70f48abb774dc9c897c4210.tar.gz mill-fe8a24fe8630be2cf70f48abb774dc9c897c4210.tar.bz2 mill-fe8a24fe8630be2cf70f48abb774dc9c897c4210.zip |
allow '-' char to be in cross selectors
Diffstat (limited to 'core')
-rw-r--r-- | core/src/mill/util/ParseArgs.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/mill/util/ParseArgs.scala b/core/src/mill/util/ParseArgs.scala index 9137923a..274f6449 100644 --- a/core/src/mill/util/ParseArgs.scala +++ b/core/src/mill/util/ParseArgs.scala @@ -113,7 +113,7 @@ object ParseArgs { } private def parseSelector(input: String) = { - val identChars = ('a' to 'z') ++ ('A' to 'Z') ++ ('0' to '9') ++ "_" + val identChars = ('a' to 'z') ++ ('A' to 'Z') ++ ('0' to '9') ++ Seq('_', '-') val ident = P( CharsWhileIn(identChars) ).! val ident2 = P( CharsWhileIn(identChars ++ ".") ).! val segment = P( ident ).map( Segment.Label) |