diff --git a/_overviews/scala3-book/methods-main-methods.md b/_overviews/scala3-book/methods-main-methods.md index b56fd5a2d9..797d7d04a4 100644 --- a/_overviews/scala3-book/methods-main-methods.md +++ b/_overviews/scala3-book/methods-main-methods.md @@ -100,7 +100,7 @@ use as a parameter. You would do this like you see below: enum Color: case Red, Green, Blue -given ComamndLineParser.FromString[Color] with +given CommandLineParser.FromString[Color] with def fromString(value: String): Color = Color.valueOf(value) @main def run(color: Color): Unit =