aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2020-10-09 16:01:17 +0800
committerLi Jin <dragon-fly@qq.com>2020-10-09 16:01:17 +0800
commitb4687f90305c24149a5d43d84bf64fa192dae8f8 (patch)
tree11b756a12cea588c97753316f949aa2a8200b31e
parent721946718de7bc4e90c94a7f44bf8e7d519a75e5 (diff)
downloadyuescript-b4687f90305c24149a5d43d84bf64fa192dae8f8.tar.gz
yuescript-b4687f90305c24149a5d43d84bf64fa192dae8f8.tar.bz2
yuescript-b4687f90305c24149a5d43d84bf64fa192dae8f8.zip
fix typo.
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 88ac995..0ccf9fe 100644
--- a/README.md
+++ b/README.md
@@ -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&emsp;&emsp;Then require the module in Lua: 43&emsp;&emsp;Then require the MoonPlus module in Lua:
44 44
45```Lua 45```Lua
46require("moonp")("main") -- require `main.mp` 46require("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&emsp;&emsp;Use cases: 92&emsp;&emsp;Use cases:
93&emsp;&emsp;Recursively compile every moon+ file with extension `.md` under current path: `moonp .` 93&emsp;&emsp;Recursively compile every moon+ file with extension `.mp` under current path: `moonp .`
94&emsp;&emsp;Compile and save results to a target path: `moonp -t /target/path/ .` 94&emsp;&emsp;Compile and save results to a target path: `moonp -t /target/path/ .`
95&emsp;&emsp;Compile and reserve debug info: `moonp -l .` 95&emsp;&emsp;Compile and reserve debug info: `moonp -l .`
96&emsp;&emsp;Compile and generate minified codes: `moonp -m .` 96&emsp;&emsp;Compile and generate minified codes: `moonp -m .`