You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blame-tracker.py
+18-14
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,7 @@ def main():
61
61
parser.add_argument('-t1', '--until', dest='end_date', type=str, help='The end date📅 in ISO 8601 format (default is now).', default=datetime.now().isoformat())
62
62
parser.add_argument('-d', '--days-ago', type=int, help='The number of days ago⏱️ to shift the search.', default=0)
63
63
parser.add_argument('-w', '--weeks-ago', type=int, help='The number of weeks ago⏱️ to shift the search.', default=0)
64
+
parser.add_argument('-m', '--minutes-ago', type=int, help='The number of minutes ago⏱️ to shift the search.', default=0)
64
65
parser.add_argument('-in', '--include', dest='include', type=str, help='The file patterns📂 to search for (default is "**/*").', default=['**/*'], nargs='+')
65
66
parser.add_argument('-ex', '--exclude', type=str, help='The file patterns📂 to exclude (default is none).', default=[], nargs='+')
66
67
parser.add_argument('-f', '--format', type=str, help=f'The format string🧶 to print each accusation (default is "{DEFAULT_FORMAT}")', default=DEFAULT_FORMAT)
@@ -113,11 +114,15 @@ def main():
113
114
ifargs.verbose>=3:
114
115
# Print debug information if verbose level is 3 or higher
# Print the percentage of non-blank characters written by the author
204
-
info(f' {stats["non-blank"] /float(total_non_blank) *100:2.0f}% of code since {start_date.month:02d}/{start_date.day:02d}/{start_date.year}')
205
+
info(f' Composes {stats["non-blank"] /float(total_non_blank) *100:2.0f}% of changes since {start_date.month:02d}/{start_date.day:02d}/{start_date.year}')
0 commit comments