def checkOptions(self): if not self.vmIds: self.parser.error('Missing vm-id') AuthnCommand.checkCloudEndpointOptionsOnly(self) PortTranslationCommand.checkCommonOptions(self) self._checkPrivateKeyFile() super(MainProgram, self).checkOptions()
def checkOptions(self): AuthnCommand.checkCloudEndpointOptionsOnly(self) PortTranslationCommand.checkCommonOptions(self) super(MainProgram, self).checkOptions()