def setOptions(self): """ __setOptions__ This allows to set specific command options """ self.parser.add_option( '--quantity', dest='quantity', help= 'The number of logs you want to retrieve (or "all"). Ignored if --jobids is used.' ) self.parser.add_option( '--parallel', dest='nparallel', help= 'Number of parallel download, default is 10 parallel download.', ) self.parser.add_option( '--wait', dest='waittime', help='Increase the sendreceive-timeout in second.', ) self.parser.add_option( '--short', dest='short', default=False, action='store_true', help= 'Get the short version of the log file. Use with --dir and --jobids.', ) getcommand.setOptions(self)
def setOptions(self): """ __setOptions__ This allows to set specific command options """ self.parser.add_option( '-q', '--quantity', dest = 'quantity', help = 'The number of logs you want to retrieve (or "all"). Ignored if --jobids is used.' ) getcommand.setOptions(self)
def setOptions(self): """ __setOptions__ This allows to set specific command options """ self.parser.add_option( '-q', '--quantity', dest='quantity', help= 'The number of output files you want to retrieve (or "all"). Ignored if --jobids is used.' ) getcommand.setOptions(self)
def setOptions(self): """ __setOptions__ This allows to set specific command options """ self.parser.add_option( '--quantity', dest = 'quantity', help = 'The number of output files you want to retrieve (or "all"). Ignored if --jobids is used.' ) self.parser.add_option( '--parallel', dest = 'nparallel', help = 'Number of parallel download, default is 10 parallel download.',) self.parser.add_option( '--wait', dest = 'waittime', help = 'Increase the sendreceive-timeout in second',) getcommand.setOptions(self)
def setOptions(self): """ __setOptions__ This allows to set specific command options """ self.parser.add_option( '--quantity', dest = 'quantity', help = 'The number of logs you want to retrieve (or "all"). Ignored if --jobids is used.' ) self.parser.add_option( '--parallel', dest = 'nparallel', help = 'Number of parallel download, default is 10 parallel download.',) self.parser.add_option( '--wait', dest = 'waittime', help = 'Increase the sendreceive-timeout in second.',) self.parser.add_option( '--short', dest = 'short', default = False, action = 'store_true', help = 'Get the short version of the log file. Use with --dir and --jobids.',) getcommand.setOptions(self)