diff --git a/timesheet/timesheet.sh b/timesheet/timesheet.sh index 03474fa..a447765 100755 --- a/timesheet/timesheet.sh +++ b/timesheet/timesheet.sh @@ -172,24 +172,24 @@ function timesheet() { printf " (generated at %s)\n\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n" \ "$(date)" \ "$(bold "" "Tasks completed from $start to $end (back $phrase)")" \ - "$(showall $(doneuuids end.after:${start}))" \ + "$(showall $(doneuuids end.after:${start} $@))" \ "$(bold "" "Upcoming tasks")" \ - "$(showall $(pendinguuids))" \ + "$(showall $(pendinguuids $@))" \ "$(bold "" "Blocked tasks")" \ - "$(showall $(blockeduuids))" \ + "$(showall $(blockeduuids $@))" \ "$(bold "" "Blocking tasks")" \ - "$(showall $(blockinguuids))" + "$(showall $(blockinguuids $@))" printf "%s%s\n\n%s%s\n%s\n\n%s\n\n%s\n" \ "$(bold "" "Summary")" \ - "$(task summary rc._forcecolor=on 2>/dev/null)" \ + "$(task rc._forcecolor=on $@ summary 2>/dev/null)" \ "$(bold "" "History")" \ - "$(task history rc._forcecolor=on 2>/dev/null)" \ - "$(task ghistory rc._forcecolor=on 2>/dev/null)" \ - "$(task burndown.daily rc._forcecolor=on 2>/dev/null)" \ - "$(task burndown rc._forcecolor=on 2>/dev/null)" + "$(task rc._forcecolor=on $@ history 2>/dev/null)" \ + "$(task rc._forcecolor=on $@ ghistory 2>/dev/null)" \ + "$(task rc._forcecolor=on $@ burndown.daily 2>/dev/null)" \ + "$(task rc._forcecolor=on $@ burndown 2>/dev/null)" } -timesheet +timesheet $@ # vim: set et ts=4 sw=4: