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>
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user