aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-09-01 17:08:37 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2011-10-05 12:25:48 +0200
commit718a6cfee4916f347636215ee35313610793f9bd (patch)
tree766f456aba09ed277a7acc9a41424c5466434f05 /doc
parent711d5dea20679298192b25a5bbfe4fd70d9012d6 (diff)
downloadcalcurse-718a6cfee4916f347636215ee35313610793f9bd.tar.gz
calcurse-718a6cfee4916f347636215ee35313610793f9bd.zip
Add command line argument to run the GC manually
Adds a "-g" option that allows for running the garbage collector for note files manually. This is useful for users that do not use note files at all or rarely edit/remove them. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/calcurse.1.txt3
-rw-r--r--doc/manual.txt3
2 files changed, 6 insertions, 0 deletions
diff --git a/doc/calcurse.1.txt b/doc/calcurse.1.txt
index 884aa34..f611079 100644
--- a/doc/calcurse.1.txt
+++ b/doc/calcurse.1.txt
@@ -103,6 +103,9 @@ appointments can be specified using the *-c* flag.
Specify the data directory to use. This option is incompatible with -c.
If not specified, the default directory is *~/.calcurse/*.
+*-g*, *--gc*::
+ Run the garbage collector for note files and exit.
+
*-h*, *--help*::
Print a short help text describing the supported command-line options,
and exit.
diff --git a/doc/manual.txt b/doc/manual.txt
index 55b9785..4964a21 100644
--- a/doc/manual.txt
+++ b/doc/manual.txt
@@ -209,6 +209,9 @@ can be specified using the `-c` flag.
Specify the data directory to use. This option is incompatible with -c.
If not specified, the default directory is `~/.calcurse/`.
+`-g, --gc`::
+ Run the garbage collector for note files and exit.
+
`-h, --help`::
Print a short help text describing the supported command-line options,
and exit.