Add :silent to readme & argparse

master
pictuga 2020-08-22 00:02:08 +02:00
parent 5b8bd47829
commit f79938ab11
2 changed files with 2 additions and 0 deletions

View File

@ -112,6 +112,7 @@ custom feeds:
misc: misc:
--nolink drop links, but keeps links' inner text --nolink drop links, but keeps links' inner text
--noref drop items' link --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 --debug to have some feedback from the script execution. Useful for debugging
GNU AGPLv3 code GNU AGPLv3 code

View File

@ -40,6 +40,7 @@ def cli_app():
group = parser.add_argument_group('misc') group = parser.add_argument_group('misc')
group.add_argument('--nolink', action='store_true', help='drop links, but keeps links\' inner text') 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('--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') group.add_argument('--debug', action='store_true', help='to have some feedback from the script execution. Useful for debugging')
options = Options(parser.parse_args()) options = Options(parser.parse_args())