Skip to content

Commit 5299c1d

Browse files
authored
Update args_parser.py
Update the CLI frontend to match args_config.py warnings
1 parent 28c1e60 commit 5299c1d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/zxbc/args_parser.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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 format",
108108
)
109109
parser_.add_argument(
110110
"-a", "--autorun", action="store_true", default=None, help="Sets the program to be run once loaded"

0 commit comments

Comments
 (0)