Lines Matching defs:args
115 "usage: %s [options] [script [args]]\n"
176 lua_insert(L, base); /* put it under chunk and args */
348 /* indices of various argument indicators in array args */
357 static int collectargs (char **argv, int *args) {
369 args[has_E] = 1;
373 args[has_i] = 1; /* go through */
376 args[has_v] = 1;
379 args[has_e] = 1; /* go through */
442 int args[num_has];
443 args[has_i] = args[has_v] = args[has_e] = args[has_E] = 0;
445 script = collectargs(argv, args);
450 if (args[has_v]) print_version();
451 if (args[has_E]) { /* option '-E'? */
460 if (!args[has_E] && handle_luainit(L) != LUA_OK)
466 if (args[has_i]) /* -i option? */
468 else if (script == 0 && !args[has_e] && !args[has_v]) { /* no arguments? */