title: How to pass and read arguments to a lua program?
body: <p>Equivalent to <code>main(int argc, char*argv[])</code> of C. For example: <code>./foo.lua -a -b</code> how do I read <code>-a</code> and <code>-b</code> from <code>foo.lua</code> program?</p>