def METHOD_NAME(self):
    Script.registerSwitch(
        "v:", "valid=", "Valid HH:MM for the proxy. By default is one month", self.setProxyLifeTime
    )
    Script.registerSwitch("C:", "Cert=", "File to use as user certificate", self.setCertLocation)
    Script.registerSwitch("K:", "Key=", "File to use as user key", self.setKeyLocation)
    Script.registerSwitch("P:", "Proxy=", "File to use as proxy", self.setProxyLocation)
    Script.registerSwitch("f", "onthefly", "Generate a proxy on the fly", self.setOnTheFly)
    Script.registerSwitch("p", "pwstdin", "Get passwd from stdin", self.setStdinPasswd)
    Script.addDefaultOptionValue("LogLevel", "always")