mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
Rename variable to show_annotations
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
parent
4b483bab56
commit
fe3c69ef20
1 changed files with 3 additions and 3 deletions
|
@ -86,7 +86,7 @@ int CmdSummary (
|
|||
Color colorID (rules.getBoolean ("color") ? rules.get ("theme.colors.ids") : "");
|
||||
|
||||
auto show_ids = findHint (cli, ":ids");
|
||||
auto show_annotation = findHint (cli, ":annotations");
|
||||
auto show_annotations = findHint (cli, ":annotations");
|
||||
|
||||
Table table;
|
||||
table.width (1024);
|
||||
|
@ -104,7 +104,7 @@ int CmdSummary (
|
|||
|
||||
auto offset = 0;
|
||||
|
||||
if (show_annotation)
|
||||
if (show_annotations)
|
||||
{
|
||||
table.add ("Annotation");
|
||||
offset = 1;
|
||||
|
@ -163,7 +163,7 @@ int CmdSummary (
|
|||
|
||||
table.set (row, (show_ids ? 4 : 3), tags, summaryIntervalColor (rules, track.tags ()));
|
||||
|
||||
if (show_annotation)
|
||||
if (show_annotations)
|
||||
{
|
||||
auto annotation = track.getAnnotation ();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue