]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/cli.py
convert version to named tuple
[nominatim.git] / nominatim / cli.py
index e6214af815724d54d63c3fdcf5767e8f034ff345..cedbdb4a5f984b0dc9b2bd5e60e450fad2adebd0 100644 (file)
@@ -61,7 +61,7 @@ class CommandlineParser:
     def nominatim_version_text(self) -> str:
         """ Program name and version number as string
         """
-        text = f'Nominatim version {version.version_str()}'
+        text = f'Nominatim version {version.NOMINATIM_VERSION!s}'
         if version.GIT_COMMIT_HASH is not None:
             text += f' ({version.GIT_COMMIT_HASH})'
         return text