From 0f6e0375e9045af7792117c9a6972745f354a001 Mon Sep 17 00:00:00 2001 From: Ryan Luu Date: Fri, 27 Dec 2024 08:24:01 +0000 Subject: [PATCH] Add back arg Signed-off-by: GitHub --- src/instawebhooks/parser.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/instawebhooks/parser.py b/src/instawebhooks/parser.py index 8753c1a..7f153a2 100644 --- a/src/instawebhooks/parser.py +++ b/src/instawebhooks/parser.py @@ -44,6 +44,13 @@ def closure_check_regex(arg_value: str): ) group.add_argument("-q", "--quiet", help="hide all logging", action="store_true") group.add_argument("-v", "--verbose", help="show debug logging", action="store_true") +parser.add_argument( + "-p", + "--catchup", + help="send the last latest posts on startup regardless of time", + type=int, + default=0, +) parser.add_argument( "-i", "--refresh-interval",