~ihabunek/toot-discuss

Fix --clear text issue v1 PROPOSED

Sandra Snan: 1
 Fix --clear text issue

 1 files changed, 4 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~ihabunek/toot-discuss/patches/50808/mbox | git am -3
Learn more about email & git

[PATCH] Fix --clear text issue Export this patch

It's a click flag.
---
 toot/cli/timelines.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/toot/cli/timelines.py b/toot/cli/timelines.py
index aac2c45..aee83de 100644
--- a/toot/cli/timelines.py
+++ b/toot/cli/timelines.py
@@ -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)"
-- 
2.39.2
Thanks!

-- Ivan