Add day filter param to day report

This commit is contained in:
Simon Lieb 2022-05-02 20:38:49 +02:00
parent 3b6970481a
commit 7c8702bb63
3 changed files with 41 additions and 16 deletions

5
stt.1
View file

@ -8,7 +8,7 @@ stt \- Simple time tracker
.RB [ \-a
.IR task " |"
.RB \-s " |"
.RB \-l ]
.RB \-l [Y-m-d]]
.SH DESCRIPTION
.B stt
keeps track of tasks during a work day.
@ -24,9 +24,10 @@ Registers given task as active. Will also stop previous active task.
.B \-s
Stops current active task.
.TP
.B \-l
.B \-l [Y-m-d]
Prints day report, for each tasks name, start time, end time or state if
still running and duration (in decimal hours) is displayed.
Also accept a date as filter, default display today report.
.TP
.B \-h
Prints synopsis help.