From 0ab2595890e45d034c9b63e20207ddb1430443f9 Mon Sep 17 00:00:00 2001 From: Valentin Iovene Date: Sun, 15 Oct 2023 11:04:56 +0200 Subject: [PATCH] pos/neg flag as suggested by @WhyNotHugo Co-authored-by: Hugo --- khal/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/khal/cli.py b/khal/cli.py index f86292ac6..7ffe3faf4 100644 --- a/khal/cli.py +++ b/khal/cli.py @@ -94,7 +94,7 @@ def multi_calendar_option(f): def no_mouse_option(f): - o = click.option('--no-mouse', is_flag=True, + o = click.option('--mouse/--no-mouse', is_flag=True, default=True help='Disable mouse in interactive UI') return o(f)