Re-implement --limit option

This commit is contained in:
Serene-Arc
2021-02-15 13:55:33 +10:00
committed by Ali Parlakci
parent 866d94f37e
commit 8e54986357
2 changed files with 19 additions and 10 deletions

View File

@@ -76,6 +76,7 @@ def _add_options():
parser.add_argument("--limit",
help="default: unlimited",
metavar="Limit",
default=None,
type=int)
parser.add_argument("--time",
help="Either hour, day, week, month, year or all. default: all",