Skip to content

Commit c3113de

Browse files
authored
Merge pull request #1016 from MrKOSMOS/main
Small update
2 parents 40cfd9b + b00d5d4 commit c3113de

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/lib/arch/zx48k/stdlib/hex.bas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ REM Avoid recursive / multiple inclusion
2121
' function HEX
2222
'
2323
' Parameters:
24-
' num : 32 bit unsigned integer numbre
24+
' num : 32 bit unsigned integer number
2525
'
2626
' Returns:
27-
' 4 chars str containing the HEX string representation
27+
' 8 chars str containing the HEX string representation
2828
' ----------------------------------------------------------------
2929
function FASTCALL hex(num as ULong) as String
3030
asm

src/zxbc/args_parser.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)