From f2c94fb19c1545ae3d4ce3c399c6cd0aad4bc400 Mon Sep 17 00:00:00 2001
From: Baptiste Jonglez <baptiste--git@jonglez.org>
Date: Wed, 2 May 2012 16:19:32 +0200
Subject: src/args.c: Add a mention of "--read-only" in "calcurse --help"

Signed-off-by: Baptiste Jonglez <baptiste--git@jonglez.org>
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
---
 src/args.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/args.c b/src/args.c
index a846095..21eb14b 100644
--- a/src/args.c
+++ b/src/args.c
@@ -64,7 +64,8 @@ usage ()
   const char *arg_usage =
     _("Usage: calcurse [-g|-h|-v] [-N] [-an] [-t[num]] [-i<file>] [-x[format]]\n"
       "                [-d <date>|<num>] [-s[date]] [-r[range]]\n"
-      "                [-c<file> | -D<dir>] [-S<regex>] [--status]\n");
+      "                [-c<file> | -D<dir>] [-S<regex>] [--status]\n"
+      "                [--read-only]\n");
   fputs (arg_usage, stdout);
 }
 
@@ -103,6 +104,8 @@ help_arg ()
       "	print calcurse version and exit.\n"
       "\n  --status\n"
       "	display the status of running instances of calcurse.\n"
+      "\n  --read-only\n"
+      "	Don't save configuration nor appointments/todos. Use with care.\n"
       "\nFiles:\n"
       "  -c <file>, --calendar <file>\n"
       "	specify the calendar <file> to use (incompatible with '-D').\n"
-- 
cgit v1.2.3