From 93024295003e6d8cc1f6b8399ca6191ea8c1a773 Mon Sep 17 00:00:00 2001 From: Ronald Schaten Date: Wed, 3 Apr 2013 21:28:07 +0200 Subject: [PATCH] new command line options --- atomstrom.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/atomstrom.py b/atomstrom.py index ac7e9cb..5008200 100755 --- a/atomstrom.py +++ b/atomstrom.py @@ -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 from configuration") + parser.add_option("-r", "--reset", action="store", type="int", metavar="ID", dest="reset", default=False, help="reset data for feed ") (options, args) = parser.parse_args() if options.fetch: