mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
CmdReportDay: Provided for dynamic indentation
This commit is contained in:
parent
70ba611f66
commit
3a63f1296e
1 changed files with 6 additions and 4 deletions
|
@ -60,8 +60,10 @@ int CmdReportDay (
|
|||
// TODO Get the latest hour of the filtered data.
|
||||
|
||||
// TODO Axis, hard-coded.
|
||||
std::string indent = " ";
|
||||
std::cout << "\n"
|
||||
<< " 0 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11\n";
|
||||
<< indent
|
||||
<< "0 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11\n";
|
||||
|
||||
// TODO Data, missing.
|
||||
std::cout << "\n"
|
||||
|
@ -69,9 +71,9 @@ int CmdReportDay (
|
|||
|
||||
// TODO Summary, missing.
|
||||
std::cout << "\n"
|
||||
<< " Tracked\n"
|
||||
<< " Untracked\n"
|
||||
<< " Total\n"
|
||||
<< indent << "Tracked\n"
|
||||
<< indent << "Untracked\n"
|
||||
<< indent << "Total\n"
|
||||
<< "\n";
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue