Replace references to monthsperline with calendar.monthsperline

This commit is contained in:
Tomas Babej 2021-09-25 13:21:15 -04:00
parent c22b233300
commit cd2abc7132
3 changed files with 3 additions and 3 deletions

View file

@ -739,7 +739,7 @@ turned off by setting the variable to none. The default value is "none".
Determines whether the calendar legend is displayed. The default value is "1".
.TP
.B monthsperline=N
.B calendar.monthsperline=N
Determines how many months the "task calendar" command renders across the
screen. Defaults to however many will fit. If more months than will fit are
specified, Taskwarrior will only show as many that will fit.

View file

@ -131,7 +131,7 @@ std::string configurationDefaults =
"calendar.offset=0 # Apply an offset value to control the first month of the calendar\n"
"calendar.offset.value=-1 # The number of months the first month of the calendar is moved\n"
"calendar.holidays=none # Show public holidays on calendar:full, sparse or none\n"
"#monthsperline=3 # Number of calendar months on a line\n"
"#calendar.monthsperline=3 # Number of calendar months on a line\n"
"\n"
"# Journal controls\n"
"journal.time=0 # Record start/stop commands as annotation\n"

View file

@ -85,6 +85,7 @@ int CmdShow::execute (std::string& output)
" calendar.details.report"
" calendar.holidays"
" calendar.legend"
" calendar.monthsperline"
" calendar.offset"
" calendar.offset.value"
" color"
@ -175,7 +176,6 @@ int CmdShow::execute (std::string& output)
" list.all.projects"
" list.all.tags"
" locking"
" monthsperline"
" nag"
" obfuscate"
" print.empty.columns"