From f79938ab115ba283899c5b6e763711542fac2800 Mon Sep 17 00:00:00 2001 From: pictuga Date: Sat, 22 Aug 2020 00:02:08 +0200 Subject: [PATCH] Add :silent to readme & argparse --- README.md | 1 + morss/cli.py | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 925906d..b9192b9 100644 --- a/README.md +++ b/README.md @@ -112,6 +112,7 @@ custom feeds: misc: --nolink drop links, but keeps links' inner text --noref drop items' link + --silent don't output the final RSS (useless on its own, but can be nice when debugging) --debug to have some feedback from the script execution. Useful for debugging GNU AGPLv3 code diff --git a/morss/cli.py b/morss/cli.py index ea62948..a814188 100644 --- a/morss/cli.py +++ b/morss/cli.py @@ -40,6 +40,7 @@ def cli_app(): group = parser.add_argument_group('misc') group.add_argument('--nolink', action='store_true', help='drop links, but keeps links\' inner text') group.add_argument('--noref', action='store_true', help='drop items\' link') + group.add_argument('--silent', action='store_true', help='don\'t output the final RSS (useless on its own, but can be nice when debugging)') group.add_argument('--debug', action='store_true', help='to have some feedback from the script execution. Useful for debugging') options = Options(parser.parse_args())