aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2022-09-30 15:35:11 +0800
committerLi Jin <dragon-fly@qq.com>2022-09-30 15:35:11 +0800
commit1316415cd7983ebede74a3580fbfd47560f0fa92 (patch)
treefb3f505977c2e2c2a80cfb695c9e49c1260687a5 /src
parent284dc4851968737e32d3d97214b82a07355598d3 (diff)
downloadyuescript-1316415cd7983ebede74a3580fbfd47560f0fa92.tar.gz
yuescript-1316415cd7983ebede74a3580fbfd47560f0fa92.tar.bz2
yuescript-1316415cd7983ebede74a3580fbfd47560f0fa92.zip
updating doc.
Diffstat (limited to 'src')
-rw-r--r--src/yue.cpp3
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