From: Claromes Date: Tue, 14 Jan 2025 12:27:50 +0000 (-0300) Subject: add command -h X-Git-Url: https://git.claromes.com/?a=commitdiff_plain;h=7fd658c6735ca099f05a7c4ba95294c153d05599;p=waybacktweets.git add command -h --- diff --git a/waybacktweets/_cli.py b/waybacktweets/_cli.py index 231d243..4fc34b5 100644 --- a/waybacktweets/_cli.py +++ b/waybacktweets/_cli.py @@ -39,7 +39,7 @@ def _parse_date( raise click.BadParameter("Date must be in format YYYYmmdd") -@click.command() +@click.command(context_settings={"help_option_names": ["-h", "--help"]}) @click.argument("username", type=str) @click.option( "-c",