diff options
| author | Li Jin <dragon-fly@qq.com> | 2022-11-09 15:17:17 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2022-11-09 15:17:17 +0800 |
| commit | e02780668e0ce2ebf7088bad2e70ad94b6824b08 (patch) | |
| tree | 5542a135197d4b7c7741708a9544180ee4fbcf13 /README.md | |
| parent | 42f50d380cf3a5dc30b4c0d06caec93d0ddd76d9 (diff) | |
| download | yuescript-e02780668e0ce2ebf7088bad2e70ad94b6824b08.tar.gz yuescript-e02780668e0ce2ebf7088bad2e70ad94b6824b08.tar.bz2 yuescript-e02780668e0ce2ebf7088bad2e70ad94b6824b08.zip | |
fix readme.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 7 |
1 files changed, 6 insertions, 1 deletions
| @@ -87,17 +87,22 @@ Usage: yue [options|files|directories] ... | |||
| 87 | 87 | ||
| 88 | -h Print this message | 88 | -h Print this message |
| 89 | -e str Execute a file or raw codes | 89 | -e str Execute a file or raw codes |
| 90 | -m Generate minified codes | ||
| 90 | -t path Specify where to place compiled files | 91 | -t path Specify where to place compiled files |
| 91 | -o file Write output to file | 92 | -o file Write output to file |
| 92 | -s Use spaces in generated codes instead of tabs | 93 | -s Use spaces in generated codes instead of tabs |
| 93 | -m Generate minified codes | ||
| 94 | -p Write output to standard out | 94 | -p Write output to standard out |
| 95 | -b Dump compile time (doesn't write output) | 95 | -b Dump compile time (doesn't write output) |
| 96 | -g Dump global variables used in NAME LINE COLUMN | ||
| 96 | -l Write line numbers from source codes | 97 | -l Write line numbers from source codes |
| 97 | -v Print version | 98 | -v Print version |
| 98 | -- Read from standard in, print to standard out | 99 | -- Read from standard in, print to standard out |
| 99 | (Must be first and only argument) | 100 | (Must be first and only argument) |
| 100 | 101 | ||
| 102 | --target=version Specify the Lua version that codes will be generated to | ||
| 103 | (version can only be 5.1, 5.2, 5.3 or 5.4) | ||
| 104 | --path=path_str Append an extra Lua search path string to package.path | ||
| 105 | |||
| 101 | Execute without options to enter REPL, type symbol '$' | 106 | Execute without options to enter REPL, type symbol '$' |
| 102 | in a single line to start/stop multi-line mode | 107 | in a single line to start/stop multi-line mode |
| 103 | ``` | 108 | ``` |
