diff --git a/bytebeat_compiler.py b/bytebeat_compiler.py index b752e59..3371a09 100644 --- a/bytebeat_compiler.py +++ b/bytebeat_compiler.py @@ -176,7 +176,8 @@ if __name__ == "__main__": parser.add_argument("-l", "--samples", default=None, type=int, help="length in samples (adds to `-t`; supports negative numbers) : " "default = +0 samples") - parser.add_argument("-a", "--no-return", default=False, action="store_true", + parser.add_argument("-a", "--custom-return-code", default=False, + action="store_true", help="do not insert return statement before the code") parser.add_argument("-u", "--mode", default="sequential", type=str, help="mode of writing: `sequential` or `instant` (the latter is not " @@ -203,7 +204,7 @@ if __name__ == "__main__": raise SystemExit("Empty file or STDIN") # - Compilation - if not args.no_return: # Insert `return` statement + if not args.custom_return_code: # Insert `return` statement # XXX: The bytebeat code is enclosed in parentheses to allow for the # use of commas as a comma operator, enabling more formulas to function. bytebeat_contents = f"return ({bytebeat_contents})"