cliargs is a command-line argument parser for Lua.
It supports several types of arguments.

Homepage:
https://github.com/amireh/lua_cliargs
