syms.lua: switch from getopt to optparse