diff options
| -rw-r--r-- | lua.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lua.c,v 1.150 2005/09/06 17:19:33 roberto Exp roberto $ | 2 | ** $Id: lua.c,v 1.151 2005/10/14 18:15:46 roberto Exp roberto $ |
| 3 | ** Lua stand-alone interpreter | 3 | ** Lua stand-alone interpreter |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -42,13 +42,13 @@ static void laction (int i) { | |||
| 42 | static void print_usage (void) { | 42 | static void print_usage (void) { |
| 43 | fprintf(stderr, | 43 | fprintf(stderr, |
| 44 | "usage: %s [options] [script [args]].\n" | 44 | "usage: %s [options] [script [args]].\n" |
| 45 | "'script' is a filename or '-' to execute stdin\n" | ||
| 46 | "Available options are:\n" | 45 | "Available options are:\n" |
| 47 | " -e stat execute string " LUA_QL("stat") "\n" | 46 | " -e stat execute string " LUA_QL("stat") "\n" |
| 48 | " -l name require library " LUA_QL("name") "\n" | 47 | " -l name require library " LUA_QL("name") "\n" |
| 49 | " -i enter interactive mode after executing " LUA_QL("script") "\n" | 48 | " -i enter interactive mode after executing " LUA_QL("script") "\n" |
| 50 | " -v show version information\n" | 49 | " -v show version information\n" |
| 51 | " -- stop handling options\n" | 50 | " -- stop handling options\n" |
| 51 | " - execute stdin and stop handling options\n" | ||
| 52 | , | 52 | , |
| 53 | progname); | 53 | progname); |
| 54 | fflush(stderr); | 54 | fflush(stderr); |
