File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -723,12 +723,22 @@ def main():
723
723
help = "Include checking of NSFW sites from default list." ,
724
724
)
725
725
726
+ # TODO deprecated in favor of --txt, retained for workflow compatibility, to be removed
727
+ # in future release
726
728
parser .add_argument (
727
729
"--no-txt" ,
728
730
action = "store_true" ,
729
731
dest = "no_txt" ,
730
732
default = False ,
731
- help = "Disable creation of a txt file" ,
733
+ help = "Disable creation of a txt file - WILL BE DEPRECATED" ,
734
+ )
735
+
736
+ parser .add_argument (
737
+ "--txt" ,
738
+ action = "store_true" ,
739
+ dest = "output_txt" ,
740
+ default = False ,
741
+ help = "Enable creation of a txt file" ,
732
742
)
733
743
734
744
parser .add_argument (
@@ -892,7 +902,7 @@ def main():
892
902
else :
893
903
result_file = f"{ username } .txt"
894
904
895
- if not args .no_txt :
905
+ if args .output_txt :
896
906
with open (result_file , "w" , encoding = "utf-8" ) as file :
897
907
exists_counter = 0
898
908
for website_name in results :
You can’t perform that action at this time.
0 commit comments