Skip to content

Commit

Permalink
Fix: Fix pontos-version show command (#566)
Browse files Browse the repository at this point in the history
Use correct method of VersionCommand instance.
  • Loading branch information
bjoernricks committed Jan 17, 2023
1 parent 7ce6bb3 commit c01bc1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pontos/version/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def main() -> NoReturn:
else:
print("Version is already up-to-date.")
elif args.command == "show":
print(command.current_version())
print(command.get_current_version())
elif args.command == "verify":
command.verify_version(args.version)
except VersionError as e:
Expand Down

0 comments on commit c01bc1a

Please sign in to comment.