X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfatables%2Fsfatables;h=2f20f3f9de5f8727ffcb2f263b8c604f2bf7ef68;hb=6c41d17ff2f98c362ad1db112d22bede960d8202;hp=7f61a3f0346f5d355cb1f88e62c7c6236e56ef87;hpb=342b9b05015e6a009d9dbccf559ae66334298b1f;p=sfa.git diff --git a/sfatables/sfatables b/sfatables/sfatables index 7f61a3f0..2f20f3f9 100755 --- a/sfatables/sfatables +++ b/sfatables/sfatables @@ -113,11 +113,12 @@ def main(): 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, metavar = 'TARGET') + target_parser.add_option('-e','--element',dest='element',help='Element name', metavar = 'ELEMENT') (target_options, args) = target_parser.parse_args(pargs[2]) try: name = target_options.name except Exception: - print "Must specify target name with -m" + print "Must specify target name with -j" if (target_dict.has_key(name)): setattr(target_options, 'arguments', target_dict[name].arguments)