Code:
local options = {}
options.name = "testOptions"
options.type = "group"
options.get = myGetFunc
options.set = mySetFunc
options.test1 = {}
options.test1.name = "Test1"
options.test1.desc = "Test1 description."
options.test1.type = "toggle"
options.test1.arg = "myTestVariable1"
options.test2 = {}
options.test2.name = "Test2"
options.test2.desc = "Test2 description."
options.test2.type = "toggle"
options.test2.arg = "myTestVariable2"
Sorry about my weird formatting, I do it for readability (I find that it makes my mods easier to maintain, for me at least).