diff --git a/README.md b/README.md index 9746637ffd743688e9f493a8d1070e59945aa856..47fae791c3592d76d407de7e3157d67a9d9bc4a3 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Everybody is welcome to contribute by creating merge requests! ### Standard Scala files -“Normal†Scala files (ending with `.scala`) must have a `@main` method. For example, [`01-java-threads.scala`](src/main/scala/lecture1/01-java-threads.scala), the main method is `testThreads`. You can run it from the command-line, first by entering the sbt shell: +“Normal†Scala files (ending with `.scala`) must have a `@main` method. For example, [`01-java-threads.scala`](src/main/scala/lecture1/01-javaThreads.scala), the main method is `testThreads`. You can run it from the command-line, first by entering the sbt shell: ```bash sbt @@ -27,15 +27,15 @@ sbt and then by running: ```bash -runMain lecture1JavaThreads +runMain javaThreads ``` -where `lecture1JavaThreads` is the name of a `@main` function. This should output something similar to: +where `javaThreads` is the name of a `@main` function. This should output something similar to: ``` -sbt:cs206-demos> run lecture1JavaThreads +sbt:cs206-demos> run javaThreads [info] compiling 1 Scala source to /Users/me/cs206-demos/target/scala-3.2.0/classes ... -[info] running lecture1JavaThreads lecture1JavaThreads +[info] running javaThreads javaThreads Little threads did not start yet! ThreadThread-3 has counter 0 ThreadThread-2 has counter 0