aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/README.md b/README.md
index 50124d1..31198dc 100644
--- a/README.md
+++ b/README.md
@@ -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```