diff options
Diffstat (limited to '')
| -rw-r--r-- | src/luajit.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/luajit.c b/src/luajit.c index 9153975b..eec2c0ca 100644 --- a/src/luajit.c +++ b/src/luajit.c | |||
| @@ -55,16 +55,16 @@ static void laction(int i) | |||
| 55 | static void print_usage(void) | 55 | static void print_usage(void) |
| 56 | { | 56 | { |
| 57 | fprintf(stderr, | 57 | fprintf(stderr, |
| 58 | "usage: %s [options] [script [args]].\n" | 58 | "usage: %s [options]... [script [args]...].\n" |
| 59 | "Available options are:\n" | 59 | "Available options are:\n" |
| 60 | " -e stat execute string " LUA_QL("stat") "\n" | 60 | " -e chunk Execute string " LUA_QL("chunk") ".\n" |
| 61 | " -l name require library " LUA_QL("name") "\n" | 61 | " -l name Require library " LUA_QL("name") ".\n" |
| 62 | " -j cmd perform LuaJIT control command\n" | 62 | " -j cmd Perform LuaJIT control command.\n" |
| 63 | " -O[lvl] set LuaJIT optimization level\n" | 63 | " -O[opt] Control LuaJIT optimizations.\n" |
| 64 | " -i enter interactive mode after executing " LUA_QL("script") "\n" | 64 | " -i Enter interactive mode after executing " LUA_QL("script") ".\n" |
| 65 | " -v show version information\n" | 65 | " -v Show version information.\n" |
| 66 | " -- stop handling options\n" | 66 | " -- Stop handling options.\n" |
| 67 | " - execute stdin and stop handling options\n" | 67 | " - Execute stdin and stop handling options.\n" |
| 68 | , | 68 | , |
| 69 | progname); | 69 | progname); |
| 70 | fflush(stderr); | 70 | fflush(stderr); |
| @@ -143,7 +143,7 @@ static void print_jit_status(lua_State *L) | |||
| 143 | fputs(lua_toboolean(L, n) ? "JIT: ON" : "JIT: OFF", stderr); | 143 | fputs(lua_toboolean(L, n) ? "JIT: ON" : "JIT: OFF", stderr); |
| 144 | for (n++; (s = lua_tostring(L, n)); n++) | 144 | for (n++; (s = lua_tostring(L, n)); n++) |
| 145 | fprintf(stderr, " %s", s); | 145 | fprintf(stderr, " %s", s); |
| 146 | fputs("\n", stdout); | 146 | fputs("\n", stderr); |
| 147 | } | 147 | } |
| 148 | 148 | ||
| 149 | static int getargs(lua_State *L, char **argv, int n) | 149 | static int getargs(lua_State *L, char **argv, int n) |
