diff options
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/docs/doc/README.md | 12 | ||||
-rwxr-xr-x | doc/docs/zh/doc/README.md | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/doc/docs/doc/README.md b/doc/docs/doc/README.md index 5c26dac..ad26be5 100755 --- a/doc/docs/doc/README.md +++ b/doc/docs/doc/README.md | |||
@@ -223,12 +223,12 @@ Usage: yue [options|files|directories] ... | |||
223 | Execute without options to enter REPL, type symbol '$' | 223 | Execute without options to enter REPL, type symbol '$' |
224 | in a single line to start/stop multi-line mode | 224 | in a single line to start/stop multi-line mode |
225 | ``` | 225 | ``` |
226 |   Use cases: | 226 |   Use cases: |
227 |   Recursively compile every YueScript file with extension **.yue** under current path: **yue .** | 227 |   Recursively compile every YueScript file with extension **.yue** under current path: **yue .** |
228 |   Compile and save results to a target path: **yue -t /target/path/ .** | 228 |   Compile and save results to a target path: **yue -t /target/path/ .** |
229 |   Compile and reserve debug info: **yue -l .** | 229 |   Compile and reserve debug info: **yue -l .** |
230 |   Compile and generate minified codes: **yue -m .** | 230 |   Compile and generate minified codes: **yue -m .** |
231 |   Execute raw codes: **yue -e 'print 123'** | 231 |   Execute raw codes: **yue -e 'print 123'** |
232 |   Execute a YueScript file: **yue -e main.yue** | 232 |   Execute a YueScript file: **yue -e main.yue** |
233 | 233 | ||
234 | ## Macro | 234 | ## Macro |
diff --git a/doc/docs/zh/doc/README.md b/doc/docs/zh/doc/README.md index 29cd032..86796e9 100755 --- a/doc/docs/zh/doc/README.md +++ b/doc/docs/zh/doc/README.md | |||
@@ -222,12 +222,12 @@ f! | |||
222 | 不添加任何选项执行命令可以进入REPL模式, | 222 | 不添加任何选项执行命令可以进入REPL模式, |
223 | 在单行输入符号 '$' 并换行后,可以开始或是停止多行输入模式 | 223 | 在单行输入符号 '$' 并换行后,可以开始或是停止多行输入模式 |
224 | ``` | 224 | ``` |
225 |   使用案例: | 225 |   使用案例: |
226 |   递归编译当前路径下扩展名为 **.yue** 的每个月之脚本文件: **yue .** | 226 |   递归编译当前路径下扩展名为 **.yue** 的每个月之脚本文件: **yue .** |
227 |   编译并将结果保存到目标路径: **yue -t /target/path/ .** | 227 |   编译并将结果保存到目标路径: **yue -t /target/path/ .** |
228 |   编译并保留调试信息: **yue -l .** | 228 |   编译并保留调试信息: **yue -l .** |
229 |   编译并生成压缩代码: **yue -m .** | 229 |   编译并生成压缩代码: **yue -m .** |
230 |   直接执行代码: **yue -e 'print 123'** | 230 |   直接执行代码: **yue -e 'print 123'** |
231 |   执行一个月之脚本文件: **yue -e main.yue** | 231 |   执行一个月之脚本文件: **yue -e main.yue** |
232 | 232 | ||
233 | ## 宏 | 233 | ## 宏 |