@@ -51,7 +51,7 @@ def parser() -> argparse.ArgumentParser:
5151 "-O" ,
5252 "--optimize" ,
5353 type = int ,
54- help = f"Sets optimization level. 0 = None (default level is { OPTIONS .optimization_level } " ,
54+ help = f"Sets optimization level. 0 = None (default level is { OPTIONS .optimization_level } ) " ,
5555 )
5656 parser_ .add_argument (
5757 "-o" ,
@@ -66,13 +66,13 @@ def parser() -> argparse.ArgumentParser:
6666 "-T" ,
6767 "--tzx" ,
6868 action = "store_true" ,
69- help = "Sets output format to .tzx (default is .bin)." ,
69+ help = "Sets output format to .tzx (default is .bin). DEPRECATED. Use -f " ,
7070 )
7171 output_file_type_group .add_argument (
7272 "-t" ,
7373 "--tap" ,
7474 action = "store_true" ,
75- help = "Sets output format to .tap (default is .bin)." ,
75+ help = "Sets output format to .tap (default is .bin). DEPRECATED. Use -f " ,
7676 )
7777 output_file_type_group .add_argument (
7878 "-A" ,
@@ -84,7 +84,7 @@ def parser() -> argparse.ArgumentParser:
8484 "-E" ,
8585 "--emit-backend" ,
8686 action = "store_true" ,
87- help = "Emits backend code (IR) instead of ASM or binary." ,
87+ help = "Emits backend code (IR) instead of ASM or binary. DEPRECATED. Use -f " ,
8888 )
8989 output_file_type_group .add_argument (
9090 "--parse-only" , action = "store_true" , help = "Only parses to check for syntax and semantic errors"
@@ -104,7 +104,7 @@ def parser() -> argparse.ArgumentParser:
104104 action = "store_true" ,
105105 dest = "basic" ,
106106 default = None ,
107- help = "Creates a BASIC loader which loads the rest of the CODE. Requires -T ot -t " ,
107+ help = "Creates a BASIC loader which loads the rest of the CODE. Requires one of sna, tzx, tap or z80 output " ,
108108 )
109109 parser_ .add_argument (
110110 "-a" , "--autorun" , action = "store_true" , default = None , help = "Sets the program to be run once loaded"
@@ -173,13 +173,13 @@ def parser() -> argparse.ArgumentParser:
173173 )
174174 parser_ .add_argument ("--version" , action = "version" , version = f"%(prog)s { VERSION } " )
175175 parser_ .add_argument (
176- "--append-binary" , default = [], action = "append" , help = "Appends binary to tape file (only works with -t or -T )"
176+ "--append-binary" , default = [], action = "append" , help = "Appends binary to tape file (only works with tzx and tap )"
177177 )
178178 parser_ .add_argument (
179179 "--append-headless-binary" ,
180180 default = [],
181181 action = "append" ,
182- help = "Appends binary to tape file (only works with -t or -T )" ,
182+ help = "Appends binary to tape file (only works with output formats tzx and tap )" ,
183183 )
184184 parser_ .add_argument (
185185 "-N" , "--zxnext" , action = "store_true" , default = None , help = "Enables ZX Next asm extended opcodes"
0 commit comments