--config for empty config parsing file TYPE_INT = 1 TYPE_STR = 2 TYPE_FILE = 3 local M = {} M.project_name = "INT_STR_FILE" M.params_list = {} param1 = { type = TYPE_INT, name = "number", shortopt = "i:" } M.params_list[1] = param1 param2 = { type = TYPE_STR, name = "username", shortopt = "s:" } M.params_list[2] = param2 param3 = { type = TYPE_FILE, name = "configfile", shortopt = "f:" } M.params_list[3] = param3 return M