From dabbf2d2ceceff540b94e96eeb06d5c31b702964 Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Tue, 7 Jan 2025 17:38:39 -0800 Subject: [PATCH] Allow to call `conda-lock -h` --- conda_lock/conda_lock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conda_lock/conda_lock.py b/conda_lock/conda_lock.py index 0d8b9ffc..2d421780 100644 --- a/conda_lock/conda_lock.py +++ b/conda_lock/conda_lock.py @@ -1192,7 +1192,7 @@ def main() -> None: ] -@main.command("lock", context_settings={"show_default": True}) +@main.command("lock", context_settings={"show_default": True, "help_option_names": ["--help", "-h"]}) @click.option( "--conda", default=None,