calcurse.1.txt: Split out filter and formatting options

Move those options into separate subsections.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2015-03-26 17:39:07 +01:00
parent 90e6c61252
commit 80502f02de

View File

@ -104,75 +104,6 @@ appointments can be specified using the *-c* flag.
Specify the data directory to use. If not specified, the default directory is Specify the data directory to use. If not specified, the default directory is
*~/.calcurse/*. *~/.calcurse/*.
*--filter-type* <type>::
Ignore any items that do not match the type mask. See 'FILTERS' for details.
*--filter-pattern* <pattern>::
Ignore any items with a description that does not match the pattern. See
'FILTERS' for details.
*--filter-start-from* <date>::
Ignore any items that start before a given date. See 'FILTERS' for details.
*--filter-start-to* <date>::
Ignore any items that start after a given date. See 'FILTERS' for details.
*--filter-start-after* <date>::
Only include items that start after a given date. See 'FILTERS' for details.
*--filter-start-before* <date>::
Only include items that start before a given date. See 'FILTERS' for details.
*--filter-start-range* <range>::
Only include items within a given range. See 'FILTERS' for details.
*--filter-end-from* <date>::
Ignore any items that end before a given date. See 'FILTERS' for details.
*--filter-end-to* <date>::
Ignore any items that end after a given date. See 'FILTERS' for details.
*--filter-end-after* <date>::
Only include items that end after a given date. See 'FILTERS' for details.
*--filter-end-before* <date>::
Only include items that end before a given date. See 'FILTERS' for details.
*--filter-end-range* <range>::
Only include items within a given range. See 'FILTERS' for details.
*--filter-priority* <priority>::
Only include items with a given priority. See 'FILTERS' for details.
*--filter-completed*::
Only include completed TODO items. See 'FILTERS' for details.
*--filter-uncompleted*::
Only include uncompleted TODO items. See 'FILTERS' for details.
*--format-apt* <format>::
Specify a format to control the output of appointments in non-interactive
mode. See the 'FORMAT STRINGS' section for detailed information on format
strings.
*--format-recur-apt* <format>::
Specify a format to control the output of recurrent appointments in
non-interactive mode. See the 'FORMAT STRINGS' section for detailed
information on format strings.
*--format-event* <format>::
Specify a format to control the output of events in non-interactive mode. See
the 'FORMAT STRINGS' section for detailed information on format strings.
*--format-recur-event* <format>::
Specify a format to control the output of recurrent events in non-interactive
mode. See the 'FORMAT STRINGS' section for detailed information on format
strings.
*--format-todo* <format>::
Specify a format to control the output of todo items in non-interactive mode.
See the 'FORMAT STRINGS' section for detailed information on format strings.
*--from* <date>:: *--from* <date>::
Specify the start date of the range when used with *-Q*. Specify the start date of the range when used with *-Q*.
@ -182,7 +113,7 @@ appointments can be specified using the *-c* flag.
*-G*, *--grep*:: *-G*, *--grep*::
Print appointments and TODO items using the calcurse data file format. The Print appointments and TODO items using the calcurse data file format. The
filter interface can be used to further restrict the output. See also: filter interface can be used to further restrict the output. See also:
'FILTERS'. 'Filter Options'.
*-h*, *--help*:: *-h*, *--help*::
Print a short help text describing the supported command-line options, Print a short help text describing the supported command-line options,
@ -205,7 +136,8 @@ the *-c* flag.
Print all appointments inside a given query range, followed by all TODO Print all appointments inside a given query range, followed by all TODO
items. The query range defaults to the current day and can be changed by items. The query range defaults to the current day and can be changed by
using the *--from* and *--to* (or *--days*) parameters. The filter interface using the *--from* and *--to* (or *--days*) parameters. The filter interface
can be used to further restrict the output. See also: 'FILTERS'. can be used to further restrict the output. See also: 'Filter Options',
'Formatting Options'.
*-r*[num], *--range*[=num]:: *-r*[num], *--range*[=num]::
Print events and appointments for the 'num' number of days and exit. If no Print events and appointments for the 'num' number of days and exit. If no
@ -264,8 +196,8 @@ $ calcurse --export > my_data.dat
'Note:' The *-N* option has been removed in calcurse 3.0.0. See the 'FORMAT 'Note:' The *-N* option has been removed in calcurse 3.0.0. See the 'FORMAT
STRINGS' section on how to print note along with appointments and events. STRINGS' section on how to print note along with appointments and events.
Filters Filter Options
------- ~~~~~~~~~~~~~~
Filters can be used to restrict the set of items which are loaded from the Filters can be used to restrict the set of items which are loaded from the
appointments file when using calcurse in non-interactive mode. The following appointments file when using calcurse in non-interactive mode. The following
@ -323,6 +255,32 @@ filters are currently supported:
*--filter-uncompleted*:: *--filter-uncompleted*::
Only include uncompleted TODO items. Only include uncompleted TODO items.
Formatting Options
~~~~~~~~~~~~~~~~~~
*--format-apt* <format>::
Specify a format to control the output of appointments in non-interactive
mode. See the 'FORMAT STRINGS' section for detailed information on format
strings.
*--format-recur-apt* <format>::
Specify a format to control the output of recurrent appointments in
non-interactive mode. See the 'FORMAT STRINGS' section for detailed
information on format strings.
*--format-event* <format>::
Specify a format to control the output of events in non-interactive mode. See
the 'FORMAT STRINGS' section for detailed information on format strings.
*--format-recur-event* <format>::
Specify a format to control the output of recurrent events in non-interactive
mode. See the 'FORMAT STRINGS' section for detailed information on format
strings.
*--format-todo* <format>::
Specify a format to control the output of todo items in non-interactive mode.
See the 'FORMAT STRINGS' section for detailed information on format strings.
Format strings Format strings
-------------- --------------