+ nargs = lua_gettop(L);
+ switch(nargs) {
+ case 3:
+ if (cmd != CMD_REVERT)
+ goto err;
+ luaL_checkstring(L, 1);
+ option = lua_tostring(L, -1);
+ lua_pop(L, 1);
+ /* fall through */
+ case 2:
+ if (cmd != CMD_REVERT)
+ goto err;
+ luaL_checkstring(L, 1);
+ section = lua_tostring(L, -1);
+ lua_pop(L, 1);
+ /* fall through */
+ case 1: