diff --git a/cyclopts/core.py b/cyclopts/core.py index e3ebe939..1899c50b 100644 --- a/cyclopts/core.py +++ b/cyclopts/core.py @@ -330,6 +330,7 @@ def version_flags(self, value): name=self._version_flags, help_flags=[], version_flags=[], + version=self.version, help="Display application version.", ) @@ -347,6 +348,7 @@ def help_flags(self, value): name=self._help_flags, help_flags=[], version_flags=[], + version=self.version, help="Display this message and exit.", )