lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

I'm trying to use std.optparse for the first time.  The example shows
me how to get a parse arg and opt, but I don't know how to test
individual options from there.

   local parser = OptionParser (help)
   local arg, opts = parser:parse (_G.arg)

What should ... be?