diff options
author | Li Jin <dragon-fly@qq.com> | 2020-10-09 16:01:17 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2020-10-09 16:01:17 +0800 |
commit | b4687f90305c24149a5d43d84bf64fa192dae8f8 (patch) | |
tree | 11b756a12cea588c97753316f949aa2a8200b31e | |
parent | 721946718de7bc4e90c94a7f44bf8e7d519a75e5 (diff) | |
download | yuescript-b4687f90305c24149a5d43d84bf64fa192dae8f8.tar.gz yuescript-b4687f90305c24149a5d43d84bf64fa192dae8f8.tar.bz2 yuescript-b4687f90305c24149a5d43d84bf64fa192dae8f8.zip |
fix typo.
-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 .` |