1
0
mirror of https://github.com/minetest/minetest.git synced 2024-09-27 15:00:30 +02:00

Make geometry syntax errors more clear

This commit is contained in:
Jacob Gustafson 2017-01-31 15:48:35 -05:00 committed by GitHub
parent fd5eab0d7d
commit bb877daae3

View File

@ -242,8 +242,8 @@ if geometry_string is not None:
usage()
sys.exit(2)
else:
print("ERROR: Incorrect value '" + geometry_string +
"' for geometry (must be in the form: x:z+width+height)")
print("ERROR: Incorrect geometry syntax '" + geometry_string +
"' (must be in the form: x:z+width+height)")
usage()
sys.exit(2)
elif region_string is not None: