diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-10-14 15:34:23 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-10-14 15:34:23 -0300 |
commit | 86704cffe938872bca8e911a37aa05a5549a29eb (patch) | |
tree | 669272ee9c5b63e49b9cea663506d03084c94a40 /lua.c | |
parent | fa41fafa6e18e304d8d2a30f890a6f9a73454468 (diff) | |
download | lua-86704cffe938872bca8e911a37aa05a5549a29eb.tar.gz lua-86704cffe938872bca8e911a37aa05a5549a29eb.tar.bz2 lua-86704cffe938872bca8e911a37aa05a5549a29eb.zip |
detail in usage message
Diffstat (limited to 'lua.c')
-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); |