summaryrefslogtreecommitdiff
path: root/src/args.c
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 /src/args.c
parentf1403e99bbcf2c3fe77b9f41150d27e60a1a7a1a (diff)
downloadcalcurse-246d73ef15e4d79eea3ace1a3b0fa7a29d683243.zip
Help on --status flag added
Diffstat (limited to 'src/args.c')
-rwxr-xr-xsrc/args.c6
1 files changed, 4 insertions, 2 deletions
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"