aboutsummaryrefslogtreecommitdiff
path: root/src/sb_nueve
diff options
context:
space:
mode:
Diffstat (limited to 'src/sb_nueve')
-rwxr-xr-xsrc/sb_nueve8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/sb_nueve b/src/sb_nueve
index fed9749..1d0a315 100755
--- a/src/sb_nueve
+++ b/src/sb_nueve
@@ -183,15 +183,17 @@ def main():
if args.action == 'r':
if args.timeframe == 't':
report = parse_for_day(time.strftime('%Y-%m-%d'))
+
+ print("""total keystrokes: %s""" % (report["total keypresses"]))
if args.timeframe == 'w':
report = parse_for_week(time.strftime('%Y-%m-%d'))
- print(report)
+ print("""total keystrokes: %s""" % (report["total keypresses"]))
if args.timeframe == 'm':
report = parse_for_month(time.strftime('%Y-%m-%d'))
- print(report)
+ print("""total keystrokes: %s""" % (report["total keypresses"]))
if args.timeframe == 'y':
report = parse_for_year(time.strftime('%Y-%m-%d'))
- print(report)
+ print("""total keystrokes: %s""" % (report["total keypresses"]))
if args.action == 'c':
if args.timeframe == 't':