def getOption(self, name):
name = name.strip()<EOL>for o in self.options:<EOL><INDENT>if o.short == name or o.long == name:<EOL><INDENT>return o<EOL><DEDENT><DEDENT>raise InterfaceException("<STR_LIT>" + name)<EOL>
Get the the Option object associated with the given name.

:param name: the name of the option to retrieve; can be short or long name.
:raise InterfaceException: if the named option doesn't exist.