We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4858f70 + 743ae86 commit e8e68afCopy full SHA for e8e68af
1 file changed
src/zxbasm/zxbasm.py
@@ -169,12 +169,8 @@ def main(args=None):
169
if OPTIONS.stderr_filename:
170
OPTIONS.stderr = open(OPTIONS.stderr_filename, "wt")
171
172
- if int(options.tzx) + int(options.tap) > 1:
173
- o_parser.error("Options --tap, --tzx and --asm are mutually exclusive")
174
- return 3
175
-
176
- if OPTIONS.use_basic_loader and not options.tzx and not options.tap:
177
- o_parser.error("Option --BASIC and --autorun requires --tzx or tap format")
+ if OPTIONS.use_basic_loader and OPTIONS.output_file_type not in (FileType.TZX, FileType.TAP):
+ o_parser.error("Option --BASIC and --autorun requires tzx or tap format")
178
return 4
179
180
# Configure the preprocessor to use the asm-preprocessor-lexer
0 commit comments