diff options
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -40,7 +40,7 @@ So MoonPlus is a new code base for pushing the language to go forward and being | |||
| 40 | > luarocks install moonplus | 40 | > luarocks install moonplus |
| 41 | ``` | 41 | ``` |
| 42 | 42 | ||
| 43 |   Then require the module in Lua: | 43 |   Then require the MoonPlus module in Lua: |
| 44 | 44 | ||
| 45 | ```Lua | 45 | ```Lua |
| 46 | require("moonp")("main") -- require `main.mp` | 46 | require("moonp")("main") -- require `main.mp` |
| @@ -90,7 +90,7 @@ Usage: moonp [options|files|directories] ... | |||
| 90 | in a single line to start/stop multi-line mode | 90 | in a single line to start/stop multi-line mode |
| 91 | ``` | 91 | ``` |
| 92 |   Use cases: | 92 |   Use cases: |
| 93 |   Recursively compile every moon+ file with extension `.md` under current path: `moonp .` | 93 |   Recursively compile every moon+ file with extension `.mp` under current path: `moonp .` |
| 94 |   Compile and save results to a target path: `moonp -t /target/path/ .` | 94 |   Compile and save results to a target path: `moonp -t /target/path/ .` |
| 95 |   Compile and reserve debug info: `moonp -l .` | 95 |   Compile and reserve debug info: `moonp -l .` |
| 96 |   Compile and generate minified codes: `moonp -m .` | 96 |   Compile and generate minified codes: `moonp -m .` |
