mirror of https://github.com/rusefi/lua.git
detail in usage message
This commit is contained in:
parent
fa41fafa6e
commit
86704cffe9
4
lua.c
4
lua.c
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
** $Id: lua.c,v 1.150 2005/09/06 17:19:33 roberto Exp roberto $
|
** $Id: lua.c,v 1.151 2005/10/14 18:15:46 roberto Exp roberto $
|
||||||
** Lua stand-alone interpreter
|
** Lua stand-alone interpreter
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
|
@ -42,13 +42,13 @@ static void laction (int i) {
|
||||||
static void print_usage (void) {
|
static void print_usage (void) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"usage: %s [options] [script [args]].\n"
|
"usage: %s [options] [script [args]].\n"
|
||||||
"'script' is a filename or '-' to execute stdin\n"
|
|
||||||
"Available options are:\n"
|
"Available options are:\n"
|
||||||
" -e stat execute string " LUA_QL("stat") "\n"
|
" -e stat execute string " LUA_QL("stat") "\n"
|
||||||
" -l name require library " LUA_QL("name") "\n"
|
" -l name require library " LUA_QL("name") "\n"
|
||||||
" -i enter interactive mode after executing " LUA_QL("script") "\n"
|
" -i enter interactive mode after executing " LUA_QL("script") "\n"
|
||||||
" -v show version information\n"
|
" -v show version information\n"
|
||||||
" -- stop handling options\n"
|
" -- stop handling options\n"
|
||||||
|
" - execute stdin and stop handling options\n"
|
||||||
,
|
,
|
||||||
progname);
|
progname);
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
|
|
Loading…
Reference in New Issue