Example #1
0
    def __parseCommandLine (self, args):
        cl = None

        if len (args) > 0:
            cl = CommandLine ()
            try:
                cl.parseParams (args)
            except CommandLineException:
                print cl.format_help()
                raise StarterExit

        return cl