summaryrefslogtreecommitdiff
path: root/src/args.c
diff options
context:
space:
mode:
authorBaptiste Jonglez <baptiste--git@jonglez.org>2012-05-02 16:19:32 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2012-05-02 17:11:23 +0200
commitf2c94fb19c1545ae3d4ce3c399c6cd0aad4bc400 (patch)
treef99b1a5c68ad2538b9baec22e7a5e19d37549a31 /src/args.c
parent6f80d84d5e65f5187579a016ad8858aeda50cad9 (diff)
downloadcalcurse-f2c94fb19c1545ae3d4ce3c399c6cd0aad4bc400.zip
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>
Diffstat (limited to 'src/args.c')
-rw-r--r--src/args.c5
1 files changed, 4 insertions, 1 deletions
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"