summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2009-08-02 07:22:50 +0000
committerFrederic Culot <calcurse@culot.org>2009-08-02 07:22:50 +0000
commit246d73ef15e4d79eea3ace1a3b0fa7a29d683243 (patch)
tree0c9173b84d26fb0af290201bc7c2af0604512b57
parentf1403e99bbcf2c3fe77b9f41150d27e60a1a7a1a (diff)
downloadcalcurse-246d73ef15e4d79eea3ace1a3b0fa7a29d683243.tar.gz
calcurse-246d73ef15e4d79eea3ace1a3b0fa7a29d683243.zip
Help on --status flag added
-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"