Skip to content

Commit 57f9a73

Browse files
committed
tmp: hide deprecation warning for file formats
This commit is to be reverted upon 1.18+ when the actual deprecation starts.
1 parent cfac7cc commit 57f9a73

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/api/errmsg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def warning_command_line_flag_deprecation(flag: str) -> None:
107107
"""Warning signaling command line flag is deprecated.
108108
This is a special warning that can't be silenced, and needs no line number nor filename.
109109
"""
110-
msg_output(f"WARNING: deprecated flag {flag}")
110+
# msg_output(f"WARNING: deprecated flag {flag}") # TODO: To be enabled upon 1.18+
111111

112112

113113
# region [Warnings]

src/zxbc/args_parser.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ def parser() -> argparse.ArgumentParser:
5959
"-T",
6060
"--tzx",
6161
action="store_true",
62-
help="Sets output format to .tzx (default is .bin). DEPRECATED. Use -f",
62+
help="Sets output format to .tzx (default is .bin).",
6363
)
6464
output_file_type_group.add_argument(
6565
"-t",
6666
"--tap",
6767
action="store_true",
68-
help="Sets output format to .tap (default is .bin). DEPRECATED. Use -f",
68+
help="Sets output format to .tap (default is .bin).",
6969
)
7070
output_file_type_group.add_argument(
7171
"-A",
@@ -77,7 +77,7 @@ def parser() -> argparse.ArgumentParser:
7777
"-E",
7878
"--emit-backend",
7979
action="store_true",
80-
help="Emits backend code (IR) instead of ASM or binary. DEPRECATED. Use -f",
80+
help="Emits backend code (IR) instead of ASM or binary.",
8181
)
8282
output_file_type_group.add_argument(
8383
"--parse-only", action="store_true", help="Only parses to check for syntax and semantic errors"

0 commit comments

Comments
 (0)