From 3bc9497fc84abca0493083c3c208f0d2738bed38 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Wed, 22 Feb 2012 11:36:33 +0100 Subject: Add a read-only option We don't save any configuration nor items if this is set. This should be used with care, and hence there's no short option for this. Signed-off-by: Lukas Fleischer --- doc/calcurse.1.txt | 6 ++++++ doc/manual.txt | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'doc') diff --git a/doc/calcurse.1.txt b/doc/calcurse.1.txt index f611079..b7870f1 100644 --- a/doc/calcurse.1.txt +++ b/doc/calcurse.1.txt @@ -128,6 +128,12 @@ the *-c* flag. Print events and appointments for the 'num' number of days and exit. If no 'num' is given, a range of 1 day is considered. +*--read-only*:: + Don't save configuration nor appointments/todos. ++ +'Warning:' Use this this with care! If you run an interactive calcurse instance +in read-only mode, all changes from this session will be lost without warning! + *-s*[date], *--startday*[=date]:: Print events and appointments from 'date' and exit. If no 'date' is given, the current day is considered. diff --git a/doc/manual.txt b/doc/manual.txt index 4964a21..b3369b7 100644 --- a/doc/manual.txt +++ b/doc/manual.txt @@ -234,6 +234,12 @@ the `-c` flag. Print events and appointments for the num number of days and exit. If no num is given, a range of 1 day is considered. +`--read-only`:: + Don't save configuration nor appointments/todos. ++ +WARNING: Use this this with care! If you run an interactive calcurse instance +in read-only mode, all changes from this session will be lost without warning! + `-s[date], --startday[=date]`:: Print events and appointments from date and exit. If no date is given, the current day is considered. -- cgit v1.2.3-70-g09d2