Skip to content

Commit 1717919

Browse files
refactor: align unsupported version error message with list-videoipath-versions output
1 parent 3352619 commit 1717919

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/scripts/generate_all.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ def main():
1616
print(
1717
f"VideoIPath version {args.version} is currently not supported. Please create an issue on https://github.com/SWR-MoIP/VideoIPath-Automation-Tool/issues to request support for this version or use one of the following versions:"
1818
)
19-
print("\n".join(list_available_schema_versions()))
19+
versions = list_available_schema_versions()
20+
for version in versions:
21+
print(f"- {version}")
2022
exit(1)
2123

2224
generate_driver_models(schema_file)

0 commit comments

Comments
 (0)