mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-25 21:27:19 +02:00
Changed configuration option name and added documentation.
This commit is contained in:
parent
1d804ae7c8
commit
cb07e93ddd
3 changed files with 18 additions and 2 deletions
|
@ -235,7 +235,17 @@ void Chart::scan (std::vector <Task>& tasks)
|
|||
Datetime now;
|
||||
|
||||
time_t epoch;
|
||||
bool cumulative = !Context::getContext ().config.getBoolean ("burndown.nc");
|
||||
auto& config = Context::getContext ().config;
|
||||
bool cumulative;
|
||||
if (config.has ("burndown.cumulative"))
|
||||
{
|
||||
cumulative = config.getBoolean ("burndown.cumulative");
|
||||
}
|
||||
else
|
||||
{
|
||||
cumulative = true;
|
||||
}
|
||||
|
||||
for (auto& task : tasks)
|
||||
{
|
||||
// The entry date is when the counting starts.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue