- match_dict = load_xml_extensions("sfatables.targets",targets.all)
- target_parser = create_parser(match_dict)
+ target_dict = load_xml_extensions("sfatables.targets",target_dir)
+ target_parser = create_parser_xml_ext(target_dict)
+ targets_str = ",".join(target_dict.keys())
+ target_parser.add_option('-j','--jump',dest='name',help='Target name (one of %s)'%targets_str, metavar = 'TARGET')
+ target_parser.add_option('-e','--element',dest='element',help='Element name', metavar = 'ELEMENT')