From 4c82957209f39601400f7ca2b68402decace3814 Mon Sep 17 00:00:00 2001 From: Daniel Hollas Date: Mon, 13 Mar 2023 21:33:13 +0000 Subject: [PATCH] CLI: Add -h option as an alias for --help --- aiidalab_launch/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiidalab_launch/__main__.py b/aiidalab_launch/__main__.py index aeb6101..224d398 100644 --- a/aiidalab_launch/__main__.py +++ b/aiidalab_launch/__main__.py @@ -87,7 +87,7 @@ def callback(ctx, param, value): # noqa: U100 )(cmd) -@click.group() +@click.group(context_settings={"help_option_names": ["-h", "--help"]}) @click.option( "-v", "--verbose",