diff --git a/capella_diff_tools/__main__.py b/capella_diff_tools/__main__.py index 1674b21..55fdd00 100644 --- a/capella_diff_tools/__main__.py +++ b/capella_diff_tools/__main__.py @@ -102,7 +102,7 @@ def _ensure_git(model: dict[str, t.Any]) -> None: path = path.parent model["path"] = "git+" + path.as_uri() elif proto != "git": - raise click.Abort("The 'model' must point to a git repository") + raise click.UsageError("The 'model' must point to a git repository") assert isinstance(model["path"], str)