add command -h
authorClaromes <clarissamendes@alunos.utfpr.edu.br>
Tue, 14 Jan 2025 12:27:50 +0000 (09:27 -0300)
committerClaromes <clarissamendes@alunos.utfpr.edu.br>
Tue, 14 Jan 2025 12:27:50 +0000 (09:27 -0300)
waybacktweets/_cli.py

index 231d243b1d0fd283d4d33331bdf17234865d4562..4fc34b51afc41ce1b1efb5d1a633f5c22097d681 100644 (file)
@@ -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",