new command line options
This commit is contained in:
parent
546ca45337
commit
9302429500
@ -246,6 +246,9 @@ if __name__ == '__main__':
|
||||
parser.add_option("-f", "--fetch", action="store_true", dest="fetch", default=False, help="fetch all feeds")
|
||||
parser.add_option("-s", "--single", action="store_true", dest="single", default=False, help="send single mails")
|
||||
parser.add_option("-d", "--daily", action="store_true", dest="daily", default=False, help="send daily digest")
|
||||
parser.add_option("-l", "--list", action="store_true", dest="list", default=False, help="list all configured feeds")
|
||||
parser.add_option("-e", "--delete", action="store", type="int", metavar="ID", dest="delete", default=False, help="delete feed <ID> from configuration")
|
||||
parser.add_option("-r", "--reset", action="store", type="int", metavar="ID", dest="reset", default=False, help="reset data for feed <ID>")
|
||||
(options, args) = parser.parse_args()
|
||||
|
||||
if options.fetch:
|
||||
|
Loading…
Reference in New Issue
Block a user