This article is tagged with:
Lua command line arguments
and lua
lua command line arguments
-- Display the command line parameters
print(arg[0]) -- Name of the script
print(arg[1]) -- First parameter
print(arg[2]) -- Second parameter