This should be getOption() not getOptions()
You can't have a required parameter after an optional one