diff options
author | Li Jin <dragon-fly@qq.com> | 2022-09-30 15:35:11 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2022-09-30 15:35:11 +0800 |
commit | 1316415cd7983ebede74a3580fbfd47560f0fa92 (patch) | |
tree | fb3f505977c2e2c2a80cfb695c9e49c1260687a5 /src | |
parent | 284dc4851968737e32d3d97214b82a07355598d3 (diff) | |
download | yuescript-1316415cd7983ebede74a3580fbfd47560f0fa92.tar.gz yuescript-1316415cd7983ebede74a3580fbfd47560f0fa92.tar.bz2 yuescript-1316415cd7983ebede74a3580fbfd47560f0fa92.zip |
updating doc.
Diffstat (limited to 'src')
-rw-r--r-- | src/yue.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/yue.cpp b/src/yue.cpp index 07d0fef..f25c702 100644 --- a/src/yue.cpp +++ b/src/yue.cpp | |||
@@ -120,6 +120,9 @@ int main(int narg, const char** args) { | |||
120 | #ifndef YUE_COMPILER_ONLY | 120 | #ifndef YUE_COMPILER_ONLY |
121 | " -- Read from standard in, print to standard out\n" | 121 | " -- Read from standard in, print to standard out\n" |
122 | " (Must be first and only argument)\n\n" | 122 | " (Must be first and only argument)\n\n" |
123 | " --target=version Specify the Lua version that codes will be generated to\n" | ||
124 | " (version can only be 5.1, 5.2, 5.3 or 5.4)\n" | ||
125 | " --path=path_str Append an extra Lua search path string to package.path\n\n" | ||
123 | " Execute without options to enter REPL, type symbol '$'\n" | 126 | " Execute without options to enter REPL, type symbol '$'\n" |
124 | " in a single line to start/stop multi-line mode\n" | 127 | " in a single line to start/stop multi-line mode\n" |
125 | #endif // YUE_COMPILER_ONLY | 128 | #endif // YUE_COMPILER_ONLY |