Exemplo n.º 1
0
    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)
Exemplo n.º 2
0
    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)
Exemplo n.º 3
0
    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)
Exemplo n.º 4
0
    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)
Exemplo n.º 5
0
    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)
Exemplo n.º 6
0
    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)