diff --git a/doc/site/cli/usage.markdown b/doc/site/cli/usage.markdown index 0c5f1ab3..f053531c 100644 --- a/doc/site/cli/usage.markdown +++ b/doc/site/cli/usage.markdown @@ -7,7 +7,7 @@ You can [download a build for your OS from the releases page](https://github.com ### Interactive mode -If you just run `wren` without any arguments, it starts the interpreter in +If you just run `wren_cli` without any arguments, it starts the interpreter in interactive mode, where you can type in a line of code, and it immediately executes it. You can exit the interpreter using good old Ctrl-C or Ctrl-D. @@ -26,7 +26,7 @@ for (i in 1..10) System.print("Counting up %(i)") ### Running scripts The standalone interpreter can also load scripts from files and run them. Just -pass the name of the script to `wren`. Create a file named "my_script.wren" in +pass the name of the script to `wren_cli`. Create a file named "my_script.wren" in your favorite text editor and paste this into it:
@@ -52,4 +52,4 @@ for (yPixel in 0...24) {
Now run:
- $ ./wren my_script.wren
+ $ ./wren_cli my_script.wren