man: Update taskrc manpage's description of context

This commit is contained in:
Tomas Babej 2021-09-25 12:36:15 -04:00
parent 78b5bd7391
commit 059ab577b8
No known key found for this signature in database
GPG key ID: B0747C6578F7D2F5

View file

@ -1489,17 +1489,26 @@ Stores the value of the currently active context.
.RE
.TP
.B context.<name>.<type>=<filter>
.B context.<name>.read=<filter>
.B context.<name>.write=<modifications>
.RS
Stores the definition of the context for type <type> with the name <name>. The
type can either be read, write or rc. For details of the read and write types,
please see the task(1) man page. The rc type allows to override any configuration
parameter for the current context, e.g. if the default command for the context
home should be changed to home_report, the following statement could be added:
Stores the definition of the read or write context with the name <name>. Read
context is the default filter applied when the context is active. The write
context are the default modifications applied to newly added tasks when the
context is active.
.RE
.TP
.B context.<name>.rc.<key>=<value>
.RS
The rc type allows to override any configuration parameter for the current
context, e.g. if the default command for the context home should be changed to
home_report, the following statement could be added:
context.home.rc.default.command=home_report
.RE
.SS SYNC
These configuration settings are used to connect and sync tasks with the task