todo.lua: fix getting opts from cli.