Add :silent to readme & argparse
parent
5b8bd47829
commit
f79938ab11
|
@ -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
|
||||||
|
|
|
@ -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())
|
||||||
|
|
Loading…
Reference in New Issue