add -h flag (#25)

Co-authored-by: Mæve Rey <42996147+m-rey@users.noreply.github.com>
This commit is contained in:
Nova 2023-03-13 22:18:07 +01:00 committed by GitHub
parent e14b1af877
commit e9da9b4548
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,7 @@ def get_client_credentials(instance: str) -> Tuple[str, str]:
)
@click.group()
@click.group(context_settings=dict(help_option_names=["-h", "--help"]))
@click.option("-d", "--debug", is_flag=True, help="Print debug messages.")
def cli(debug: bool) -> None:
"""A program to play music your friends post on Mastodon."""