This was "function", needs to be "function*s*". It was only an issue in the option parsing because we set cmd there again instead of passing it. Maybe these should just be file-level constants?