Skip to content

Commit

Permalink
Fix --clear text issue
Browse files Browse the repository at this point in the history
It's a click flag.
  • Loading branch information
snan authored and ihabunek committed Apr 8, 2024
1 parent 7244b27 commit 07beba8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion toot/cli/timelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,10 @@ def bookmarks(


@cli.command()
@click.option("--clear", help="Dismiss all notifications and exit")
@click.option(
"--clear", is_flag=True,
help="Dismiss all notifications and exit"
)
@click.option(
"--reverse", "-r", is_flag=True,
help="Reverse the order of the shown notifications (newest on top)"
Expand Down

0 comments on commit 07beba8

Please sign in to comment.