diff --git a/patchwork/app.py b/patchwork/app.py index 5decd0ab4..d4500a564 100644 --- a/patchwork/app.py +++ b/patchwork/app.py @@ -9,7 +9,6 @@ from patchwork.logger import init_cli_logger, logger from patchwork.steps.PreparePrompt import PreparePrompt - def _get_config_path(config: str, patchflow: str) -> tuple[Path | None, Path | None]: config_path = Path(config) prompt_path = None @@ -40,6 +39,7 @@ def _get_config_path(config: str, patchflow: str) -> tuple[Path | None, Path | N ignore_unknown_options=True, ) ) + @click.version_option(message="%(version)s", package_name="patchwork-cli") @click.help_option("-h", "--help") @click.option(