def parseArguments(self, optp): optp.add_option("-r", "--recursive", action='append_const', const='recursive', dest="flags", default=[], help="copy directories recursively") optp.add_option("-f", "--force", action='append_const', const='force', dest="flags", default=[], help="force deletion of files, skipping trash") IRODSClientController.parseArguments(self, optp)
def parseArguments(self, optp): optp.add_option("-r", "--recursive", action='store_true', help="copy directories recursively") IRODSClientController.parseArguments(self, optp)