From 642f8e995d2ed34cc765c299cb99eb7279293551 Mon Sep 17 00:00:00 2001 From: Sei Lisa Date: Tue, 20 Dec 2022 21:32:07 +0100 Subject: [PATCH] Fix missing comma that prevented --libdata from working It doesn't seem to be much used, considering it's broken since revision 0af2349e where the feature was first introduced, and it hasn't been reported. --- main.py | 2 +- unit_tests/coverage.suite/lslparse-3.run | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 6bbd6b9..835af9c 100755 --- a/main.py +++ b/main.py @@ -414,7 +414,7 @@ def main(argv): ('optimizer-options=', 'help', 'version', 'output=', 'header', 'timestamp', 'python-exceptions', 'prettify', 'bom', 'emap', 'preproc=', 'precmd=', 'prearg=', 'prenodef', 'preshow', - 'avid=', 'avname=', 'assetid=', 'shortname=', 'builtins=' + 'avid=', 'avname=', 'assetid=', 'shortname=', 'builtins=', 'libdata=', 'postarg=', 'preproc-show-cmdline')) except getopt.GetoptError as e: Usage(argv[0]) diff --git a/unit_tests/coverage.suite/lslparse-3.run b/unit_tests/coverage.suite/lslparse-3.run index 2061d8c..c2bff28 100644 --- a/unit_tests/coverage.suite/lslparse-3.run +++ b/unit_tests/coverage.suite/lslparse-3.run @@ -1 +1 @@ -main.py -y -b unit_tests/builtins-coverage-1.txt -L unit_tests/fndata-coverage-3.txt -O -dcr - +main.py --python-exceptions --builtins unit_tests/builtins-coverage-1.txt --libdata unit_tests/fndata-coverage-3.txt --optimizer-options -dcr -