@@ -56,10 +56,10 @@ def run_pipeline(args):
56
56
if args .recursive :
57
57
for file_path in iter_dir (args .recursive ):
58
58
if is_python_file (file_path ):
59
- _run_model (file_path , fp , predictor , args .filter_match )
59
+ _run_model (file_path , fp , predictor , args .show_match )
60
60
else :
61
61
if is_python_file (args .file_name ):
62
- _run_model (args .file_name , fp , predictor , args .filter_match )
62
+ _run_model (args .file_name , fp , predictor , args .show_match )
63
63
else :
64
64
print ("Bye Bye!" )
65
65
@@ -69,7 +69,7 @@ def main():
69
69
parser = ArgumentParser ()
70
70
parser .add_argument ("-f" , "--file_name" , type = str , required = False , help = "The name of the file you want to run the pipeline on" )
71
71
parser .add_argument ("-r" , "--recursive" , required = False , help = "Put the directory if you want to run recursively" )
72
- parser .add_argument ("-m" , "--filter_match " , action = "store_false" , help = "Shall we only show the mis matches?" )
72
+ parser .add_argument ("-m" , "--show_match " , action = "store_false" , help = "Shall we only show the mis matches?" )
73
73
74
74
args = parser .parse_args ()
75
75
run_pipeline (args )
0 commit comments