author | Alexander Solovyov <alexander@solovyov.net> |
Wed, 23 Mar 2011 09:20:34 +0100 | |
changeset 186 | 982cea7b69c3 |
parent 185 | 7c267d7c6011 |
child 187 | 5e96ab1087da |
--- a/opster.py Sun Mar 13 17:37:44 2011 +0100 +++ b/opster.py Wed Mar 23 09:20:34 2011 +0100 @@ -413,12 +413,8 @@ possibleopts.extend(globalopts) - try: - options, args = parse(args, possibleopts) - except getopt.GetoptError, e: - raise ParseError(cmd, e) - - return (cmd, cmd and info[0] or None, args, options) + options, args = parse(args, possibleopts) + return cmd, cmd and info[0] or None, args, options def aliases_(cmdtable_key): '''Get aliases from a command table key'''