summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xChangeLog4
-rwxr-xr-xsrc/args.c6
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 225fcd9..4dbd7e7 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-08-02 Frederic Culot <frederic@culot.org>
+
+ * src/args.c: help on '--status' flag added
+
2009-08-01 Frederic Culot <frederic@culot.org>
* src/vars.c: new variable to store daemon configuration
diff --git a/src/args.c b/src/args.c
index b8ff28c..818f583 100755
--- a/src/args.c
+++ b/src/args.c
@@ -1,4 +1,4 @@
-/* $calcurse: args.c,v 1.58 2009/07/26 20:26:14 culot Exp $ */
+/* $calcurse: args.c,v 1.59 2009/08/02 07:22:50 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -69,7 +69,7 @@ usage ()
char *arg_usage =
_("Usage: calcurse [-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>]\n");
+ " [-c<file> | -D<dir>] [-S<regex>] [--status]\n");
fputs (arg_usage, stdout);
}
@@ -110,6 +110,8 @@ help_arg ()
" print this help and exit.\n"
"\n -v, --version\n"
" print calcurse version and exit.\n"
+ "\n --status\n"
+ " display the status of running instances of calcurse.\n"
"\nFiles:\n"
" -c <file>, --calendar <file>\n"
" specify the calendar <file> to use (incompatible with '-D').\n"