def parse_args(self):
        logger.debug('  Calling parse_args()')
    
        _arg_parser = argparse.ArgumentParser('remove_tiles')
        
        _arg_parser.add_argument('-C', '--config', dest='config_file',
            default=os.path.join(self.agdc_root, 'agdc_default.conf'),
            help='TileRemover configuration file')
        _arg_parser.add_argument('-d', '--debug', dest='debug',
            default=False, action='store_const', const=True,
            help='Debug mode flag')
        _arg_parser.add_argument('-r', '--dryrun', dest='dryrun',
            default=False, action='store_const', const=True,
            help='Dry-run mode flag - nothing changed')
        
        _arg_parser.add_argument('-t', '--target', dest='target',
            default='acquisition',
            help='Specify either Dataset, (all) Versions or (all datasets in) [A]cquisition to report/flag/delete')
        
        _arg_parser.add_argument('-a', '--action', dest='action',
            default='report',
            help='Specify whether to [R]eport, Flag or Delete records/files')
    
        _arg_parser.add_argument('-n', '--name', dest='dataset_name',
            default=None,
            help='Comma-separated list of dataset names to report/flag/delete')
        _arg_parser.add_argument('-l', '--list', dest='dataset_list',
            default=None,
            help='File containing a list of dataset names to report/flag/delete')
       
    
        args, _unknown_args = _arg_parser.parse_known_args()
        return args
Returns the index of the first occurrence of the `value` on the list.
dataset/ETHPy150Open GeoscienceAustralia/agdc/src/remove_tiles.py/TileRemover.parse_args--crossover with--dataset/ETHPy150Open shellderp/sublime-robot-plugin/lib/robot/libraries/Collections.py/_List.get_index_from_list