From 038f267ea2b0fc1c1a97ff72cc7e9a8fd857b16f Mon Sep 17 00:00:00 2001 From: pictuga Date: Wed, 13 May 2020 11:49:15 +0200 Subject: [PATCH] Rename :theforce into :force --- README.md | 2 +- morss/morss.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a01f188..5fbc4f3 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ The arguments are: - `noref`: drop items' link - `cache`: only take articles from the cache (ie. don't grab new articles' content), so as to save time - `debug`: to have some feedback from the script execution. Useful for debugging - - `theforce`: force download the rss feed and ignore cached http errros + - `force`: force refetch the rss feed and articles - `silent`: don't output the final RSS (useless on its own, but can be nice when debugging) - http server only - `callback=NAME`: for JSONP calls diff --git a/morss/morss.py b/morss/morss.py index a3f072a..019badc 100644 --- a/morss/morss.py +++ b/morss/morss.py @@ -306,7 +306,7 @@ def FeedFetch(url, options): # fetch feed delay = DELAY - if options.theforce: + if options.force: delay = 0 try: