Replace "gc" with "rebuild" in man pages. (#3533)

Replace "gc" with "rebuild" in man page.

Also, explain IDs in the context of the working set of tasks.
This commit is contained in:
Sebastian Carlos 2024-07-04 23:32:22 -03:00 committed by GitHub
parent fa5604ea8d
commit d1a3573c5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 9 deletions

View file

@ -744,11 +744,12 @@ the online documentation at:
.TP .TP
.B ID .B ID
Tasks can be specified uniquely by IDs, which are simply the indexes of the Tasks can be specified uniquely by IDs, which are the indexes of the "working
tasks in the database. The ID of a task may therefore change, but only when set" of tasks (mostly pending and recurrent tasks). The ID of a task may
a command is run that displays IDs. When modifying tasks, it is safe to therefore change, but only when a report that displays IDs is run. When
rely on the last displayed ID. Always run a report to check you have the right modifying tasks, it is safe to rely on the last displayed ID. Always run a
ID for a task. IDs can be given to task as a sequence, for example: report to check you have the right ID for a task. IDs can be given to task as a
sequence, for example:
.nf .nf
task 1,4-10,19 delete task 1,4-10,19 delete

View file

@ -211,10 +211,10 @@ This is a path to the hook scripts directory. By default it is ~/.task/hooks.
.TP .TP
.B gc=1 .B gc=1
Can be used to temporarily suspend garbage collection (gc), so that task IDs Can be used to temporarily suspend rebuilding, so that task IDs don't change.
don't change. Note that this should be used in the form of a command line Note that this should be used in the form of a command line override (task
override (task rc.gc=0 ...), and not permanently used in the .taskrc file, rc.gc=0 ...), and not permanently used in the .taskrc file, as this
as this significantly affects performance in the long term. significantly affects performance in the long term.
.TP .TP
.B hooks=1 .B hooks=1