From 12458e6172e9a8b59fcbddc042c22ce1ec97b692 Mon Sep 17 00:00:00 2001 From: cos Date: Tue, 25 May 2021 21:49:07 +0200 Subject: Add calendar_url and doc tip to interactive-config Asking about calendar_url makes it easier to realize the correct format of caldav_url. Suggesting to read the documentation might help the more eager-to-get-started-souls (like e.g. me) to do it earlier. --- calendar-cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calendar-cli.py b/calendar-cli.py index 76120a8..6afd3ef 100755 --- a/calendar-cli.py +++ b/calendar-cli.py @@ -238,6 +238,7 @@ def interactive_config(args, config, remaining_argv): print("Welcome to the interactive calendar configuration mode") print("Warning - untested code ahead, raise issues at t-calendar-cli@tobixen.no or the github issue tracker") + print("It might be a good idea to read the documentation in parallel if running this for your first time") if not config or not hasattr(config, 'keys'): config = {} print("No valid existing configuration found") @@ -259,7 +260,7 @@ def interactive_config(args, config, remaining_argv): if not section in config: config[section] = {} - for config_key in ('caldav_url', 'caldav_user', 'caldav_pass', 'caldav_proxy', 'ssl_verify_cert', 'language', 'timezone', 'inherits'): + for config_key in ('caldav_url', 'calendar_url', 'caldav_user', 'caldav_pass', 'caldav_proxy', 'ssl_verify_cert', 'language', 'timezone', 'inherits'): if config_key == 'caldav_pass': print("Config option caldav_pass - old value: **HIDDEN**") -- cgit v1.2.3