X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfatables%2Fsfatables;fp=sfatables%2Fsfatables;h=9abcf6cda0d808ff5a2d231ce03ffdb31bfb85c0;hb=483772a0716028a34cb98012fbe252ffd445fedf;hp=379b749c1b3e75683580a3f88186bb3d928bdb37;hpb=f5e8549209603bc3abc23dce950f372e01b65062;p=sfa.git diff --git a/sfatables/sfatables b/sfatables/sfatables index 379b749c..9abcf6cd 100755 --- a/sfatables/sfatables +++ b/sfatables/sfatables @@ -91,6 +91,7 @@ def main(): match_parser = create_parser_xml_ext(match_dict) matches_str = ",".join(match_dict.keys()) match_parser.add_option('-m','--match',dest='name',help='Match name (one of %s)'%matches_str, metavar = 'MATCH') + match_parser.add_option('-n','--negate',dest='negate',help='Negate result',action=store_true) (match_options, args) = match_parser.parse_args(pargs[1]) try: name = match_options.name