diff options
Diffstat (limited to '')
| -rwxr-xr-x | doc/docs/doc/README.md | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/docs/doc/README.md b/doc/docs/doc/README.md index 3e94c9c..f23a407 100755 --- a/doc/docs/doc/README.md +++ b/doc/docs/doc/README.md | |||
| @@ -147,7 +147,9 @@ f! | |||
| 147 | ]],{ | 147 | ]],{ |
| 148 | implicit_return_root = true, | 148 | implicit_return_root = true, |
| 149 | reserve_line_number = true, | 149 | reserve_line_number = true, |
| 150 | lint_global = true | 150 | lint_global = true, |
| 151 | space_over_tab = false, | ||
| 152 | target = "5.4" | ||
| 151 | }) | 153 | }) |
| 152 | ``` | 154 | ``` |
| 153 | 155 | ||
| @@ -160,17 +162,22 @@ Usage: yue [options|files|directories] ... | |||
| 160 | 162 | ||
| 161 | -h Print this message | 163 | -h Print this message |
| 162 | -e str Execute a file or raw codes | 164 | -e str Execute a file or raw codes |
| 165 | -m Generate minified codes | ||
| 163 | -t path Specify where to place compiled files | 166 | -t path Specify where to place compiled files |
| 164 | -o file Write output to file | 167 | -o file Write output to file |
| 165 | -s Use spaces in generated codes instead of tabs | 168 | -s Use spaces in generated codes instead of tabs |
| 166 | -m Generate minified codes | ||
| 167 | -p Write output to standard out | 169 | -p Write output to standard out |
| 168 | -b Dump compile time (doesn't write output) | 170 | -b Dump compile time (doesn't write output) |
| 171 | -g Dump global variables used in NAME LINE COLUMN | ||
| 169 | -l Write line numbers from source codes | 172 | -l Write line numbers from source codes |
| 170 | -v Print version | 173 | -v Print version |
| 171 | -- Read from standard in, print to standard out | 174 | -- Read from standard in, print to standard out |
| 172 | (Must be first and only argument) | 175 | (Must be first and only argument) |
| 173 | 176 | ||
| 177 | --target=version Specify the Lua version codes the compiler will generate | ||
| 178 | (version can only be 5.1, 5.2, 5.3 or 5.4) | ||
| 179 | --path=path_str Append an extra Lua search path string to package.path | ||
| 180 | |||
| 174 | Execute without options to enter REPL, type symbol '$' | 181 | Execute without options to enter REPL, type symbol '$' |
| 175 | in a single line to start/stop multi-line mode | 182 | in a single line to start/stop multi-line mode |
| 176 | ``` | 183 | ``` |
