texlive[71541] Build/source/texk/web2c/tests/fix-changefile-lines.py:
commits+ascherer at tug.org
commits+ascherer at tug.org
Sun Jun 16 17:50:42 CEST 2024
Revision: 71541
https://tug.org/svn/texlive?view=revision&revision=71541
Author: ascherer
Date: 2024-06-16 17:50:42 +0200 (Sun, 16 Jun 2024)
Log Message:
-----------
Amend error message for unknown cli option.
Modified Paths:
--------------
trunk/Build/source/texk/web2c/tests/fix-changefile-lines.py
Modified: trunk/Build/source/texk/web2c/tests/fix-changefile-lines.py
===================================================================
--- trunk/Build/source/texk/web2c/tests/fix-changefile-lines.py 2024-06-16 11:13:06 UTC (rev 71540)
+++ trunk/Build/source/texk/web2c/tests/fix-changefile-lines.py 2024-06-16 15:50:42 UTC (rev 71541)
@@ -241,9 +241,8 @@
"""
def __init__(self):
- """Optional elements of the output format
- '@x [{part}.{section}] l.{line} {-(hyphen)} {text}'
- """
+ # Optional elements of the output format
+ # '@x [{part}.{section}] l.{line} {-(hyphen)} {text}'
self.part_b = True
self.section_b = True
self.line_b = True
@@ -254,6 +253,9 @@
opts, self.args = getopt.getopt(sys.argv[1:], "pslht",
["parts", "sections", "lines", "hyphens", "texts"])
except getopt.GetoptError as err:
+ eprint(f"""
+{os.path.basename(sys.argv[0])}: {err}!
+""")
print(USAGE)
sys.exit(1)
More information about the tex-live-commits
mailing list.