From f41955e491476dfb844f28f46523d0430d27c88a Mon Sep 17 00:00:00 2001
From: Lukas Fleischer <lfleischer@calcurse.org>
Date: Sat, 3 Apr 2021 18:07:53 -0400
Subject: calcurse-caldav: document Hostname and Path better

Add some clarification on the expected format for the Hostname and Path
options in the sample configuration file.

Addresses GitHub issues #95, #138, and #354.

Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
---
 contrib/caldav/config.sample | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/contrib/caldav/config.sample b/contrib/caldav/config.sample
index c89cfb7..e2c6c2d 100644
--- a/contrib/caldav/config.sample
+++ b/contrib/caldav/config.sample
@@ -11,10 +11,12 @@
 # Path to the calcurse binary that is used for importing/exporting items.
 Binary = calcurse
 
-# Host name of the server that hosts CalDAV.
+# Host name of the server that hosts CalDAV. Do NOT prepend a protocol prefix,
+# such as http:// or https://. Append :<port> for a port other than 80.
 Hostname = some.hostname.com
 
-# Path to the CalDAV calendar on the host specified above.
+# Path to the CalDAV calendar on the host specified above. This is the base
+# path following your host name in the URL.
 Path = /path/to/calendar/on/the/server/
 
 # Type of authentication to use. Must be "basic" or "oauth2"
-- 
cgit v1.2.3-70-g09d2